Re: Detect Windows Server 2003 ?



wProductType == VER_NT_WORKSTATION ?

--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"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

.



Relevant Pages

  • Re: Boot Up
    ... system to boot when you boot up. ... system drive before reinstalling the Windows Server 2003. ... Click to clear "Hide protected operating system files. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.general)
  • ridiculous unstability with fedora 3......help me please !
    ... I decided a wanted to give Linux a bash as an operating system for my ... I was using Windows Server 2003, but I fancied a change (in ... I managed to get my PCMCIA wireless card working using NDISWRAPPER ... now Fedora won't mount my FAT32 ...
    (comp.os.linux)
  • Visual studio.net 2003 and Access 2007
    ... I have used Visual Studio.net 2003 connecting to Access 2002 databases in ... Access 2007 wouldn't work on Windows Server 2000 operating system, ...
    (microsoft.public.vstudio.general)
  • visual studio.net 2003 and Access 2007
    ... I have used Visual Studio.net 2003 connecting to Access 2002 databases in ... Access 2007 wouldn't work on Windows Server 2000 operating system, ...
    (microsoft.public.vsnet.general)
  • visual studio.net 2003 and Access 2007 database
    ... I have used Visual Studio.net 2003 connecting to Access 2002 databases in ... Access 2007 wouldn't work on Windows Server 2000 operating system, ...
    (microsoft.public.dotnet.languages.vb)