Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Determining CPU Revision


1 reply to this topic

aseyer

aseyer
  • Members
  • 21 posts

Posted 10 June 2002 - 16:42

I need to detect the CPU revision beyond 486/586 only.  There was a bizsoft module available, however that is not longer on their website.  Any ideas?  GetSystemInfo (CPU, nvResult, svResult) only gives 486/586, not revision and stepping information.

aseyer

aseyer
  • Members
  • 21 posts

Posted 10 June 2002 - 19:32

Follow up:

There is a function in kernel32.dll that would provide the proper response, GetSystemInfo (note the irony).

However with the code

prototype LONG KERNEL.GetSystemInfo(BYVAL STRING, BYREF STRING, BYREF LONG);
nvResult = GetSystemInfo("wProcessorLevel",szUserProfile, nvLength);

Error C8014 'GetSystemInfo': identifier already defined.

Is there anyway to create an alias for this function, or call it via another name?