On Jul 17, 2006, at 12:57 PM, Martijn van Oosterhout wrote:
On Mon, Jul 17, 2006 at 11:06:50AM -0400, Bort, Paul wrote:
If you can open a command shell you can get the OS version with the
'ver' command under Windows:
C:\>ver
Microsoft Windows XP [Version 5.1.2600]
How do you do this from a program though. Under UNIX uname() is a
function call as well as a program. It returns the os name, version,
hostname and system type.
GetVersionEx() will get you the windows version, service pack, etc IIRC.
Cheers,
Steve
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly