473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Gathering System Information under C++

I am currently needing to get information about windows ver and also about processor properties, video card, main board name, etc, and i wanted to know whether there were some functions which returned strings containing that information. Any information is much appreciated.
Apr 16 '07 #1
4 2663
Savage
1,764 Expert 1GB
I am currently needing to get information about windows ver and also about processor properties, video card, main board name, etc, and i wanted to know whether there were some functions which returned strings containing that information. Any information is much appreciated.
Well,you can use system("ver") to get windows version and system("vol") to get hard disk
label name and serial number.

Savage
Apr 16 '07 #2
Savage
1,764 Expert 1GB
Or use MSinfo32.exe ,under Windows offcourse, and export it content to a text file.

Then read in that file and print out inforamtions


Savage
Apr 16 '07 #3
Or use MSinfo32.exe ,under Windows offcourse, and export it content to a text file.

Then read in that file and print out inforamtions


Savage
If i used system("ver"), how can i save the output?? I know there is a function that saves what's written in the console, any ideas which fnction it is??
Apr 17 '07 #4
You can display the output to a file and read the content from file. Finally, display it at stdout.
Apr 22 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

31
by: Mike | last post by:
I'm after a *simple* script to log each visitor to a website. All I actually need is the visitor's reported IP address whether genuine, proxied or hidden. Their reported browser type would be an...
2
by: Eric.Jones | last post by:
I'm trying to assist in analyzing a deadlock situation that sometimes occurs on a UDB/AIX system. We have several java applications that connect via jdbc contending for a workflow table on the...
1
by: junkaccount | last post by:
In Access 2000, I want to create a form that upon initial data entry, matches data from one table and places it in the form. The user will then enter additional data in the form, at which point...
0
by: melledge | last post by:
XTech 2006 Newsletter April 20, 2006 - Volume 1, Number 1 XTech 2006 - The gathering place for Web technologists XTech is THE forum for peer-to peer interaction, learning about new...
0
by: melledge | last post by:
XTech 2006 Newsletter April 20, 2006 - Volume 1, Number 1 XTech 2006 - The gathering place for Web technologists XTech is THE forum for peer-to peer interaction, learning about new...
2
by: C | last post by:
Hi, I have come mainly from a Development background. I have now to get involved in some Requirements Gathering / Analysis. My Customer is going to give me a brief Requirements document of...
1
by: Joe | last post by:
Hello, I'm currently using a C# class library which is also converted quickly to a console app by adding a MAIN and adjusting the building configuration. I'm using this page as a reference to the...
2
by: jbenamati | last post by:
I am creating a database of members for a community organization. We're going to have each member type in their own information. I would like to include their photo in the database. I can link to...
9
by: gjones | last post by:
I have installed Office 2007 Ultimate onto my Windows Vista laptop. The install was successfull but each time I open an office app such as word or access, I get a Gathering information and preparing...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.