Hi Viktor,
try my systemwatch executable I sent to you privately.
Best regards,
Francesco
Il 30/03/2009 10.10, Viktor Szakáts ha scritto:
You must be right, if you have code I can try on Windows XP x64 as I have a
legal copy running in a VM here.
I've found this one:
http://www.codeguru.com/cpp/w-p/system/systeminformation/article.php/c8973__2/
[ but it seem to have forgotten about XP x64 ]
--
Viktor
On Mon, Mar 30, 2009 at 9:59 AM, Francesco Saverio Giudice
<i...@fsgiudice.com <mailto:i...@fsgiudice.com>> wrote:
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 <mailto:Harbour@harbour-project.org>
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Viktor
------------------------------------------------------------------------
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour