QMRevision()

Top  Previous  Next

 

The QMRevision() function returns the revision level of the client and server components.

 

 

Format

 

VBQMRevision() as String

 

Cchar * QMRevision(void)

 

VBStr = Session->revision

 

 

 

This function returns the revision level of the client and server sides of the session in the standard format of QM release numbers (major.minor-build). If executed before a connection is opened, only the client revision is returned. If a connection is open, the data returned is a dynamic array with two values where the first value is the client revision and the second value is the server revision. If the server pre-dates introduction of this function in release 2.9-0, the server revision will appear as 0.0-0.

 

As for most functions in the C API that return strings, the calling program should free this memory using QMFree().