Click to See Complete Forum and Search --> : CPU Speed win95
lin
Sep 9th, 2001, 02:18 AM
:confused: :confused: :confused: Please help :confused: :confused: :confused:
How can i get the CPU Speed in windows 95?????????
jim mcnamara
Sep 9th, 2001, 08:55 AM
You can do it only at a a very low level. Here's a dll (and the whole c++ project). This was first put together by another poster earlier this year. Copy the dll to the system directory.
Usage in VB:
Private Declare Function GetCpuSpeed Lib "CpuSpeed" () As Long
Private Sub Form_Load()
Text1.Text = CStr(GetCpuSpeed) & "MHz"
End Sub
lin
Sep 9th, 2001, 09:11 AM
thanks for your help.
I saw this answer already but I thought that there is might be an easier way, maybe with an api or something.
beside, this solution give me only an approximate answer.
thanks anyway.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.