void main() { long nTemp; AdsVersion* pDLLVersion; nTemp = AdsGetDllVersion(); pDLLVersion = (AdsVersion *)&nTemp; cout << "Version: " << (int)pDLLVersion->version << '\n'; cout << "Revision: " << (int)pDLLVersion->revision << '\n'; cout << "Build: " << pDLLVersion->build << '\n'; cout.flush(); getch(); }