#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    42
    Rep Power
    12

    Checking Sys Specs


    Anybody know how to check system specs like CPU speed, RAM, who the comp is licensed to, crap like that. Be great if it works in DOS and windows based programs.
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    Hope this link helps:
    http://msdn.microsoft.com/library/en...nformation.asp

    It should contain most of what you're looking for.
  4. #3
  5. not a fan of fascism (n00b)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Feb 2003
    Location
    ct
    Posts
    2,756
    Rep Power
    95
    I was looking at some of the functions on that page, and i came across SetSysColors(). so i decided to use a snippet of the code found @ the site to change the colors of my app. what happened next was pretty funny... as soon as it starts up my program starts spazzing out flickering in and out, spawning multiple instances of itself, then my musicmatch player starts spazzing as well, along with the start menu bar and a folder i had open. all i could do was sit back and laugh!! I open up task manager, and guess what? yes it starts spazzing as well, so i manage to tab over to the resource tab and the CPU usage is just sitting at 100%. so i say **** it and restart my computer the easy way. anyone know why this code made that happen?
    Code:
    /*
    	// Window elements to change. 
    	int aiElements[3] = {COLOR_ACTIVEBORDER, 
    		COLOR_ACTIVECAPTION, 
    		COLOR_WINDOW}; 
    	
    	// Array of RGB values. 
    	DWORD aColors[3]; 
    	
    	// Define the new colors. 
    	
    	aColors[0] = RGB(0x80, 0x00, 0x80);  // dark purple 
    	aColors[1] = RGB(0x00, 0x80, 0x80);  // dark cyan 
    	aColors[2] = RGB(0xC0, 0xC0, 0xC0);  // light gray 
    	
    	// Set the window elements in aiElements to the colors 
    	// specified in aColors. 
    	
    	SetSysColors(3, aiElements, aColors); 
    */
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    42
    Rep Power
    12
    dont know. But one thing that would be funny would be to give it to a friend and watch them freek out when they think its a virus.:p

IMN logo majestic logo threadwatch logo seochat tools logo