find out the OS we're in?

This is a discussion on find out the OS we're in? within the Windows Programming forums, part of the Platform Specific Boards category; i did a search here, didn't find anything, so i'll just ask it i need to know how to find ...

  1. #1
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904

    find out the OS we're in?

    i did a search here, didn't find anything, so i'll just ask it

    i need to know how to find out the current user's OS from a program.....

    if anyone knows the command to do this, it would be greatly appreciated (and yes, i did search msdn.......but their search stinks)

    -thanks in advance

    -edit-
    and just so you all know-
    in other words, I am trying to edit the registry from my program, and i've got it so it works perfectly on XP, but when i try and run the program in 98, it just doesn't even create anything.......

    so i'm thinking that there must be something i have to do for each OS.....

    if anyone knows about this, i'd like some help
    Last edited by jverkoey; 03-30-2003 at 02:14 AM.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 10:13 AM
  2. Can't find DirectX!!!
    By Queatrix in forum C++ Programming
    Replies: 2
    Last Post: 07-24-2006, 08:50 PM
  3. Replies: 3
    Last Post: 06-09-2006, 10:53 AM
  4. Q: Recursion to find all paths of a maze
    By reti in forum C Programming
    Replies: 7
    Last Post: 11-26-2002, 09:28 AM
  5. Find OS in C
    By Snuffy2 in forum C Programming
    Replies: 10
    Last Post: 09-09-2001, 05:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21