Thread: find out the OS we're in?

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

    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

    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

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, 09:13 AM
  2. Can't find DirectX!!!
    By Queatrix in forum C++ Programming
    Replies: 2
    Last Post: 07-24-2006, 07:50 PM
  3. Replies: 3
    Last Post: 06-09-2006, 09: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, 04:40 PM