Re: Detect Windows Server 2003 ?
- From: "David Craig" <drivers@xxxxxxxxxx>
- Date: Thu, 22 May 2008 15:21:02 -0700
What is wrong with the code presented in 'Getting the System Version' in
MSDN Library? I found a link in the Example Code topic for GetVersionEx()'s
function description.
"Pierre Pejeau" <no@xxxxxxxxx> wrote in message
news:%2399U7LFvIHA.3520@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
How to detect if a computer is running Windows Server 2003 ?
I need to run two different versions of a given program if the underlying
operating system is Win XP, or Windows Server 2003/Vista/Server 2008. On
MSDN, for OSVERSIONINFOEX, it's written :
dwMinorVersion
The operating system is Windows Server 2003 R2, Windows Server 2003, or
Windows XP Professional x64 Edition.
Then how can I know the program is running on Windows Server 2003 or
Windows XP Professional x64 Edition ?
My idea is to use IsWow64Process() to detect Win XP 64, but I'm not sure
it's the best solution...
Best regards !
Pierre
.
- References:
- Detect Windows Server 2003 ?
- From: Pierre Pejeau
- Detect Windows Server 2003 ?
- Prev by Date: Detect Windows Server 2003 ?
- Next by Date: VirtualAlloc fails (ERROR_NOT_ENOUGH_MEMORY) on 22MB request; I compute 420MB available...
- Previous by thread: Detect Windows Server 2003 ?
- Next by thread: VirtualAlloc fails (ERROR_NOT_ENOUGH_MEMORY) on 22MB request; I compute 420MB available...
- Index(es):
Relevant Pages
|