1. Operating System
- Posted by dcole Apr 18, 2011
- 1712 views
Hello again,
Another silly question.
How can I tell which operating system is running my program?
I this case either WindowsXP or Windows7.
Thanks,
Don Cole
2. Re: Operating System
- Posted by coconut Apr 18, 2011
- 1708 views
Hello again,
Another silly question.
How can I tell which operating system is running my program?
I this case either WindowsXP or Windows7.
Thanks,
Don Cole
1) by checking in the registry reg query HKLM\SoftwareMicrosoft\windows nt\currentVersion /v CurrentVersion
C:\>reg query "HKLM\Software\Microsoft\Windows nt\CurrentVersion" /v CurrentVersion HKEY_LOCAL_MACHINE\Software\Microsoft\Windows nt\CurrentVersion CurrentVersion REG_SZ 6.1
2) by using win32 API GetVersionEX()
Jacques
3. Re: Operating System
- Posted by LarryMiller Apr 18, 2011
- 1639 views
If you are using Euphoria 4 you can use the uname() function. This returns the most important values returned by the GetVersionEx() API function.
4. Re: Operating System
- Posted by dcole Apr 24, 2011
- 1440 views
If you are using Euphoria 4 you can use the uname() function. This returns the most important values returned by the GetVersionEx() API function.
Thanks Larry,
That function works well and good.
Don Cole