borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Setting Network Settings like IP and DNS via web page)Next Topic (Mapping from frontpage to printer) New Topic New Poll Post Reply
AndreaVB Forum : API : Win32 API Functions & Processor Info
Poster Message
mbasic
Level: Guest


icon Win32 API Functions & Processor Info

Hi


I'm trying to return processor information using the GetSystemInfo function of Kernel32.dll, however I am having difficuilty to make any sense of the output for processor level and revision, I currently get:

ProcessorArchitecture = 0
ProcessorType = 586
ProcessorLevel = 83886086
ProcessorRevision = 0

Surely these can't be right.
Can anyone tell me how to interpret the Processor Level output to get the processor stepping, model and family info.
My processor is a Mobile Pentium II 266 Deschutes (x86 Family 6 Model 5 Stepping 0) running Windows 98SE, how does this relate to the output I get above?

Can someone please tell me where I can download a free guide to windows API functions/methods and their properties, and the output expected and how to interpret that output?, please....thanks

Furthermore, can anyone recommend where I can find detaied information about processor architecture, i.e. a list of all the processors of each manufacturer, together with their corresponding Family, Model, Stepping & Revision information, and which functions they support (e.g. MMX, SSE, 3DNow! etc).

Many Thanks
All the best,


Gav

17-05-2002 at 03:28 AM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Win32 API Functions & Processor Info

As for free API stuff, http://www.allapi.net has (well I think so, they're no longer maintaining it) a free downloadable API program that has 925 functions with examples.

17-05-2002 at 03:42 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Win32 API Functions & Processor Info

The following has code that may help:
http://www.andreavb.f2s.com/tip020012.html

Although it didn't identify my processor properly...

17-05-2002 at 03:47 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
mbasic
Level: Guest

icon Re: Win32 API Functions & Processor Info

Thanks JL.

Andrea's code is the code I'm using, although It doesn't detect my processor correctly either, and there's no explanation of how to interpret outpu.  That's why I'm trying to figure out why I get certain values for particular properties.

Also, I've been to the AllApi site before, but what I could really do with is detailed processor information (better than that on the official Intel & AMD sites), and details of the meanung of the data returned by the GetSystemInfo Function.

Thanks for the suggestions anyway.
Keep the replies coming Please.

All the best,


Gav
[mbasic]

17-05-2002 at 04:08 AM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Win32 API Functions & Processor Info

Code at the following address may work. It did detect mine (although it's because it says PII, PIII, P4 all in 1 grouping).

http://www.mvps.org/vbnet/code/system/getsysteminfo.htm

17-05-2002 at 04:17 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
mbasic
Level: Guest

icon Re: Win32 API Functions & Processor Info

Thanks JL

I've tried this one too.
I just wish that people would explain their source code if they provide it, I really need to know all the possiblt value for each Property of GetSystemInfo, and how to manipulate these.
Ideally I would like to be able to return the processor Family, Model, Stepping.
This info can be read from the registry under NT or XP, but not in Win98SE, and aparently it doesn't seem to work either under the GetSystemInfo function either.

Thanks Again.
More suggestions very welcome, and very much apreciated, Thanks.
All the best,


Gav

17-05-2002 at 04:44 AM
| Quote Reply
munkie
Level: Guest

icon Re: Win32 API Functions & Processor Info

Hi all!

I'm currently working on the same problem for a system information component that I'm writing for a toolkit written in VB (and for VB programmers) - check out http://www.xen-os.net/   It seems resources on family, model, and stepping codes are very hard to get hold of and, as they're all manufacturer-specific - a bit of a mine-field.  If I find anything else out I'll post it here.  If anyone reads this and can run the code mbasic is running can they post the results here, along with *specific* details of their CPU.  Thanks!

Chris

07-09-2002 at 09:18 AM
| Quote Reply
AndreaVB Forum : API : Win32 API Functions & Processor Info
Previous Topic (Setting Network Settings like IP and DNS via web page)Next Topic (Mapping from frontpage to printer) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder