Version
Version allows users to identify which is the currently installed version of CTScript on the system.
static unsigned __int64 Version( void );
Parameters
void |
Return Values
Returns the version with the highest order word being the major version, the second highest order word being the minor, the second lowest order word as the build, and the bottom order word is currently reserved.
Remarks
Example Use
- C++
#include "TScript.h" int wmain(int argc, wchar_t* argv[]) { wchar_t buffer[256]; swprintf_s(buffer, _countof(buffer), TEXT("Current version is %d.%d.%d"), (CTScript::Version() >> 48) & 0xffff, (CTScript::Version() >> 32) & 0xffff, (CTScript::Version() >> 16) & 0xffff ); MessageBox(buffer,TEXT("TScript Information"),MB_ICONINFORMATION); return NO_ERROR; }
Also See
Listen All
Comments (0)