Advertisement

how to get the processor type and speed of the user?

Started by June 28, 2002 03:29 AM
15 comments, last by mickey 22 years, 4 months ago
hi, thanks, my mistake was not inserting a ''&'' beside the speed,

this would be the last one, i couldn''t find the actualy ''Intel Pentium 3'' or something like that? all i can find was, GenuineIntel or x86 family 6 model 8 etc.., so should i just be the one to specify it? ie, if mhz is 800 and
GeniuineIntel, then processor is pentium 3...?

thanks,

http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
Look for the ProcessorNameString key. It should contain the processor type, or at least what the manufacturer calls it
You might want to bring up that key location in regedit and see what all is there, pretty interesting.

Always remember, you''''re unique. Just like everyone else.
Always remember, you''re unique. Just like everyone else.Greven
Advertisement
If that information is important to your program you shouldn''t rely on the information found in the Registry. The MHZ value e.g. does not exist on my WinME and Win2k systems, maybe it''s only there on WinXP?
http://sourceforge.net/projects/libsysinfo. Still rather beta ...
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
alright i won''t settle anymore for a win32 api,

Martee: ei, i tried yours already, kewl, got two erros so i commented it out,

si_win.obj : error LNK2001: unresolved external symbol "char * * siOsNames" (?siOsNames@@3PAPADA)

and

error C2556: ''siString siGetLastError(void)'' : overloaded function differs only by return type from ''const char *siGetLastError(void)''

error C2373: ''siGetLastError'' : redefinition; different type modifiers

btw, what is SSE, and err., your code doesn''t have what i want? ie, output ''GenuineIntel Pentium 3'',

Greven: ProcessorNameString? i''ve used that keyword to search on the regedit, no result found?

thanks,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
Ah, yes ...
I did a few updates to the Linux port (added/changed some functions and variables), but I didn''t update the Windows port yet to reflect the changes. Thanks for reminding me

Right now, it doesn''t actually detect what kind of processor you have (e.g. ''Pentium 3''). It just grabs the vendor string. But I''ll add that soon ...
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Advertisement
ahh okey,

what is the different between, Major version and minor Version in the OSVERSIONINFO structure? i mean, why did they have to make it like that? ie, declare two variables,?
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

This topic is closed to new replies.

Advertisement