Results 1 to 7 of 7

Thread: Determine OS

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    San Jose, CA
    Posts
    73

    Question

    Anyone know what value is the best Registry Value to
    determine which version of Microsoft Windows is running?

    Is it.....

    HKEY_LOCAL_MACHINE
    Software
    Microsoft
    Windows
    CurrentVersion
    Version = "Windows 98"


    Thanks,

    aatwell
    Last edited by aatwell; Mar 9th, 2001 at 10:03 PM.
    ======================================
    Coding C on Fedora Core 6 [gcc compiler]
    Coding VB on Windows XP [Visual Studio 6 compiler]

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    Yes, in my opinion that is the best one.
    by the way, my german is a little weak, does that say you were born and raised in Germany?
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  3. #3
    Guest
    That's one way.
    Take a look at this thread for another way.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    San Jose, CA
    Posts
    73

    German

    That German reads: I want to live and work in Germany.


    aatwell
    ======================================
    Coding C on Fedora Core 6 [gcc compiler]
    Coding VB on Windows XP [Visual Studio 6 compiler]

  5. #5
    Guest
    aatwell: Yes, the registry method is probably the best way, beause it tells you exactly what the OS is. For example, if you use the GetVersionEx function, it will only tell you whether it's 9x, NT or 3.x

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    San Jose, CA
    Posts
    73

    Talking Thanks

    Thanks Megatron.


    Hey Lord Orwell,

    What part of Indiana are you in?


    aatwell
    ======================================
    Coding C on Fedora Core 6 [gcc compiler]
    Coding VB on Windows XP [Visual Studio 6 compiler]

  7. #7
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    I live just north/East of Evansville (in Central time zone)
    In a small (German founded) town called Elberfeld. It may be on your map, it may not be. It isn't on all maps.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width