上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
Mibh
註冊時間: 2004-02-21 文章: 19
第 1 樓
|
發表於: 星期三 四月 14, 2004 4:34 pm 文章主題: 請問如何取得CPU序號? |
|
|
1.請問如何以VFP取得CPU的序號?
2.每顆CPU的取出的序號會相同嗎?
請各位高手能夠指導一下。謝謝! |
|
回頂端 |
|
 |
Ruey
註冊時間: 2003-03-12 文章: 1698 來自: tunglo
第 2 樓
|
發表於: 星期三 四月 14, 2004 7:47 pm 文章主題: |
|
|
嘗試使用搜尋key
1.myDLL
2.CPU
3.電腦硬體或PC硬體 _________________ #############################
快樂媽咪系列幸福宅配,喝十全雞湯~原來幸福那麼簡單!!
學會VFP使用者社區的搜尋,Code才會更有趣~
############################# |
|
回頂端 |
|
 |
elleryq

註冊時間: 2007-06-21 文章: 768
第 3 樓
|
發表於: 星期四 四月 15, 2004 9:10 am 文章主題: |
|
|
還有 WMI |
|
回頂端 |
|
 |
Mibh
註冊時間: 2004-02-21 文章: 19
第 4 樓
|
發表於: 星期四 四月 15, 2004 4:05 pm 文章主題: |
|
|
感謝各位高手的指導,但我還是不懂如何去做。
我有找到一個vb的方法,請各位高手是否可改寫為vfp
Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwProcessLevel As Integer
dwAllocationGranularity As Integer
dwReserved As Long
End Type
Private Sub aa()
Dim CPUInfo As SYSTEM_INFO
GetSystemInfo CPUInfo
MsgBox "你的CPU是" & CPUInfo.dwReserved
End Sub |
|
回頂端 |
|
 |
|