CmEmbedded_4c_transp CmGetVersion

Description

CmGetVersion returns the major and minor version and Build of the requested CodeMeter modules. The itemized values are the Version and Subversion. To extract the version macros can be used.

  • C, C++

Syntax

unsigned long CMAPIENTRY CmGetVersion(HCMSysEntry hcmse)

Parameter

hcmse contains a handle opened by CmAccess2 (can be Box Access or Entry Access). NULL is also a possible value.

Return

•hcmse == NULL: The version of the local calling driver (on Windows: WibuCm32.dll) is returned.

•hcmse == "Handle to an entry in the network": The version of the CodeMeter License Server running on the machine the handle is accessing.

The return value of the version has the format:

The itemized values are Version and Subversion. To extract the version macros for Version and Subversion can be used.

Notes

In CodeMeter Versions prior to 3.30 the return value also contained Build and Count. The itemized values in this older versions were Version, Subversion, Build and Count.