Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Service Pack

Service Pack

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 423850
    wrote on last edited by
    #1

    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

    J M 2 Replies Last reply
    0
    • U User 423850

      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

      J Offline
      J Offline
      John M Drescher
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • U User 423850

        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

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Call GetVersionEx() and look at the szCSDVersion member of the OSVERSIONINFO 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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups