ctdbGetProductVersion
Retrieve the product version.
Declaration
CTDBRET ctdbGetProductVersion(CTHANDLE Handle, ppTEXT prodVersion, COUNT bufLen);
Description
ctdbGetProductVersion() retrieves the product version. The Handle parameter is not used so it can be NULL.
In V10.3 and later, the FairCom DB Server's "mini" version number, build date, and base build date (if any) are returned. These values allow a client to display the same full server build date that the FairCom DB Server displays.
Parameters:
Returns
cctdbGetProductVersion() returns CTDBRET_OK on success.
Example
NINT Retcode;
TEXT vers_buf[40];
Retcode = ctdbGetProductVersion(NULL,&vers_buf,sizeof(vers_buf));