Version

Version allows for checking of currently library programmatically.
unsigned __int64 Version (
);

Parameters

Return Values

Returns a 64 bit value, where the top 16 bits are the major version value, the 16 bits from the 32th bit is the minor version value, and the tail 32 bits are the build/patch values.

 

Remarks

  • Any changes in major versions are not compatible with any other.
  • Increases of minor version should be backwards compatible, but decreases may not be compatible.
  • Changes in build/patch versions should be both forwards and backwards compatible and hence interchangeable.
Example Use
if((CODBPP::Version()&0xffff000000000000) != 0x4000000000000
|| (CODBPP::Version()&0xffff00000000) < 0x500000000)
	MessageBox("Current ODBPP version does not support "
			"requirements for this application.");

Since

Version 4.5.1

Also See

Comments (0)Listen All
Characters left: 2500
 
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript