Finding information about a user's hardware

BlitzPlus Forums/BlitzPlus Beginners Area/Finding information about a user's hardware

Alaric(Posted 2006) [#1]
I recently downloaded a program called Everest (the free edition). It is as a one stop shop for all information about the PC (maker of the CD drive, speed of the processor, amount of RAM, etc.) in order to obtain new drivers or other miscellaneous maintenance jobs. The idea intrigued me. I want to create a program much like Everest, but which outputs the reports in a more readable format, not to mention, perhaps, downloading the drivers for the user. My question is how would i go about obtaining information such as processor speed or the maker of the HDD? Is there a Blitz userlib for getting these useful tidbits? Any answer to the first question would be appreciated, but i would just about crap myself with joy if someone could give me an answer for the second one other than "no".


Pineapple(Posted 2006) [#2]
You'll have to write your own lib, here's a start:-

DriveInfo DLL C++ Source (Built with VC++7)


You could also check how many drives is on the system, and what type they are using these:-



There is a load more in WinAPI, not sure about drivers... I've never played with them yet! :)

Anyway, I hope this helps

Dabz


Alaric(Posted 2006) [#3]
thanks, but i don't happen to have ANY C++ knowledge yet, Blitz has been more than sufficient for everything up until now... I know that i should learn it, just to have it there but its quite a bit of work to learn a new language (especially one not based in basic). Thanks for the info but unless someone will write it for me, i don't think im gonna get the lib.


Pineapple(Posted 2006) [#4]
Just play with C++ a little now and then, nothing fancy, and you will start to understand it, I mean, if you can make an application/game in BASIC, you've already got the skill's for C++ because you can think logically, and some of C++'s core principles are pretty much the same as Blitz's anyway, just a little syntaxidly (If that's a word?) different!

Making a userlib for what you want to achieve is the perfect excuse to begin learning it!

Dabz


Alaric(Posted 2006) [#5]
ok, so say that i want to start learning C++, how much is it gonna cost for Compiler/IDE? I'm not a proffesional programmer (obviously) so I don't really feel like shelling out 2-3 hundred for ANOTHER programming language when I can already do almost everything I want in the blitz basic environment...


Pineapple(Posted 2006) [#6]
DEV-C++ is a free C++ IDE:

http://www.bloodshed.net/devcpp.html

It's actually pretty good, and is perfect for the beginner... That's where I started! :)

Or you could download Visual C++ 2005 Express Edition, which is like a downgraded version (But still powerful) of Visual C++ 2005 .NET, and it's free at the moment.

Your most likely to find it at MS.COM

Dabz