W
wwshuo
Unregistered / Unconfirmed
GUEST, unregistred user!
我以前用VB做过,代码是这样的:
Dim BiosSet As SWbemObjectSet
Dim bios As SWbemObject
Set BiosSet = GetObject("winmgmts:{impersonationLevel=impersonate}"). _
InstancesOf("Win32_BIOS")
For Each bios In BiosSet
.....取信息
Next
我刚用Delphi不知道怎样用Delphi来写,WbemScripting_TLB我知道怎样引用,关键是把上面的代码翻译成delphi的。谢谢!再谢谢!
Dim BiosSet As SWbemObjectSet
Dim bios As SWbemObject
Set BiosSet = GetObject("winmgmts:{impersonationLevel=impersonate}"). _
InstancesOf("Win32_BIOS")
For Each bios In BiosSet
.....取信息
Next
我刚用Delphi不知道怎样用Delphi来写,WbemScripting_TLB我知道怎样引用,关键是把上面的代码翻译成delphi的。谢谢!再谢谢!