İşlemci Bilgileri Öğrenmek
(General)(Declaration)
Private Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Private Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwAllocationGranularity As Long
dwReserved As Long
End Type
Private Sub Command1_Click()
Dim cpu As SYSTEM_INFO
GetSystemInfo cpu
Print "Cpu Tipi : " & cpu.dwProcessorType
Print "Cpu Sayısı : " & cpu.dwNumberOrfProcessors
End Sub