In case of broken links or downloads, read the whole page products, chances are that you will find a supercede version of the software that you are looking with a different project name, as an example the MP3 OCX is now project rsppmp3 at http://sourceforge.net

Last update: 31/03/2006 12:20:39


 

RSP CPU Detection DLL 1.2.0

Release date (04/Feb/2004 18:47)



rspcpu12.png (6655 bytes)

 

This is a win32 DLL to retrieve information about the installed processor

Anyone can freely use the dll for freeware or commercial applications

What is new in version 1.2.0 (04/Feb/2004 18:03) : Fixed bug that will inform existence of features in older processors that don't exist due to the lack of CPUID support , added HyperThreading detection code , added CPU detectection code , minor bugs fixed

Notice that the cpu speed code needs one second to finish , during this period the application will appear to hang

It was generated because we are adding CPU specific optimization code , so , we need to know whether the CPU has the specific optimization function available , after the creation of the detection code we decided to make this dll available to anyone

The DLL has the following __stdcall exports:

getcpubrandstring - it will retrieve the brand string name available on the processor
getprocessorvendor  - the vendor
getprocessorspeed - the speed of the processor ( requires one second to finish )
getcputype  - family , model and stepping
hasMMX - MMX support
hasSSE - SSE support
hasSSE2 - SSE2 support
has3DNOW  - 3DNOW! support
has3DNOWExtensions - 3DNOW! extensions support
IsAMD64 - whether the processor is a x86-64 based processor ( Opteron )
hasCMOV - CMOV function available
hasFPU - FPU available
OShasSSEsupport - whether the operating system has support to SSE
hasHyperThreading - whether the processor has HyperThreading support
getcpuextendedfeature - Enhanced Intel SpeedStep technology available , Thermal Monitor 2 and Context ID ( this is only available on Pentium 4 based processors )


Install

The dll must be visible to the application using it , it need to be in the same path of the application or in the system folder


Documentation

This is the VB6 interface to the DLL

Private Declare Function getprocessorvendor Lib "rspcpu.dll" (ByVal processorname As String) As Long

Private Declare Function getcpubrandstring Lib "rspcpu.dll" (ByVal processorstring As String) As Long

Private Declare Function getcputype Lib "rspcpu.dll" (ByRef Family As Long, ByRef Model As Long, ByRef Stepping As Long) As Long

Private Declare Function getprocessorspeed Lib "rspcpu.dll" (ByVal processorstring As String) As Long

Public Declare Function hasMMX Lib "rspcpu.dll" () As Long

Public Declare Function hasSSE Lib "rspcpu.dll" () As Long

Public Declare Function hasSSE2 Lib "rspcpu.dll" () As Long

Public Declare Function has3DNOW Lib "rspcpu.dll" () As Long

Public Declare Function has3DNOWExtensions Lib "rspcpu.dll" () As Long

Public Declare Function IsAMD64 Lib "rspcpu.dll" () As Long

Public Declare Function hasCMOV Lib "rspcpu.dll" () As Long

Public Declare Function hasFPU Lib "rspcpu.dll" () As Long

Public Declare Function OShasSSEsupport Lib "rspcpu.dll" () As Long

Public Declare Function getcpuextendedfeature Lib "rspcpu.dll" ( ByRef eisst As Long, ByRef tm2 As Long, ByRef ci As Long) As Long

Public Declare Function hasHyperThreading Lib "rspcpu.dll" () As Long


Download

 

All our software is also available to download from Winsite , click here to access our Winsite page

winsite.gif (8705 bytes)

RSP CPU Detection DLL 1.2.0

RSP CPU Detection DLL 1.0.0


  vbwire.gif (8247 bytes)


 

Home   Contact   About   Development   C Programming  

Processor Research   Products   License   Mirrors

Free Hit Counters