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
  • C++
#include "ODBPP.h"

int wmain(int argc, wchar_t* argv[])
{
   if((CODBPP::Version()&0xffff000000000000) != 0x4000000000000
   || (CODBPP::Version()&0xffff00000000) < 0x500000000)
      MessageBox(u"Current ODBPP version does not support "
                 u"requirements for this application.");
   return NO_ERROR;
}

Since

Version 4.5.1

Also See

Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript