Service Pack
-
hello friends, Can any one tell me how can i programatically get the SERVICE PACK installed on the Operating System. I am working in VC6.0 enviroment. i mean i want to know which is Service pack is installed for eg service pack 6a on NT4 Please Please if anyone can help me.... Thanx in Advance TAKE CARE
-
hello friends, Can any one tell me how can i programatically get the SERVICE PACK installed on the Operating System. I am working in VC6.0 enviroment. i mean i want to know which is Service pack is installed for eg service pack 6a on NT4 Please Please if anyone can help me.... Thanx in Advance TAKE CARE
http://www.naughter.com/dtwinver.html[^] [EDIT] I know it is not clearly stated but it will also determine the service pack #. Run winver32.exe to see the result. The test program is in test.cpp. [/EDIT] John
-
hello friends, Can any one tell me how can i programatically get the SERVICE PACK installed on the Operating System. I am working in VC6.0 enviroment. i mean i want to know which is Service pack is installed for eg service pack 6a on NT4 Please Please if anyone can help me.... Thanx in Advance TAKE CARE
Call
GetVersionEx()
and look at theszCSDVersion
member of theOSVERSIONINFO
struct. It will be set to "Service Pack n" --Mike-- "I'm working really, really fast at the moment, so a 3 minute outage becomes, due to time dilation, a 5 minute outage." -- Chris Maunder, relativistic system administrator Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber