C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 31st, 2003, 01:57 AM
Combat Combat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 42 Combat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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.

Reply With Quote
  #2  
Old May 31st, 2003, 11:20 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is online now
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,589 Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 28 m 57 sec
Reputation Power: 1001
Hope this link helps:
http://msdn.microsoft.com/library/e...information.asp

It should contain most of what you're looking for.

Reply With Quote
  #3  
Old May 31st, 2003, 11:39 PM
infamous41md's Avatar
infamous41md infamous41md is offline
not a fan of fascism (n00b)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2003
Location: ct
Posts: 2,756 infamous41md User rank is Sergeant (500 - 2000 Reputation Level)infamous41md User rank is Sergeant (500 - 2000 Reputation Level)infamous41md User rank is Sergeant (500 - 2000 Reputation Level)infamous41md User rank is Sergeant (500 - 2000 Reputation Level)infamous41md User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 11 h 4 m 29 sec
Reputation Power: 26
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); 
*/

Reply With Quote
  #4  
Old June 1st, 2003, 02:47 AM
Combat Combat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 42 Combat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Checking Sys Specs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT