Viktor,

Il 30/03/2009 9.43, Viktor Szakáts ha scritto:
Both returns 5.2, and I didn't bother to do any above heavy lifting.

Most of these version details is probably unnecessary for Harbour, but XP x64 and Server 2003 detection would be useful.

Although this code from below:
---
 else if( si.wProcessorArchitecture==PROCESSOR_ARCHITECTURE_IA64 &&
                 osvi.wProductType == VER_NT_WORKSTATION )
        {
strcat( szResult, "Microsoft Windows XP Professional x64 Edition " );
        }
---

looks a bit suspicious to me as it checks for IA64 to detect x64? Could be correct seeing the mess around Windows version though ;)


I get code from MS Win SDK plus added unsupported versions (9x, etc).
You can check it at:
ms-help://MS.LHSMSSDK.1033/MS.LHSWinSDK.1033/sysinfo/base/getting_the_system_version.htm

Best regards,
Francesco
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to