Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get detailed version number of the system
#1
I want to obtain the detailed version number of the current system. I found the following C++ code. How to convert it to QM code?
 
Code:
Copy      Help
OSVERSIONINFOEX osvi = {0};
osvi.dwOSVersionInfoSize = sizeof(osvi);
if (GetVersionEx((OSVERSIONINFO *)&osvi)) {
,printf("version=%ld.%ld.%ld\n", osvi.dwMajorVersion, osvi.dwMinorVersion, osvi.dwBuildNumber);
}


Messages In This Thread
get detailed version number of the system - by Davider - 06-28-2025, 12:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)