Option Explicit
 Private Declare Function GetCurrentProcess Lib "kernel32" () As Long
 Private Declare Function IsWow64Process Lib "kernel32" (ByVal hProcess As Long, ByRef Wow64Process As Long) As Long
  
 Private Sub Command1_Click()
     Dim lngReturn As Long
     Call IsWow64Process(GetCurrentProcess, lngReturn)
     If lngReturn = 0 Then
         MsgBox "非64位OS"
     Else
         MsgBox "64位OS"
     End If
 End Sub 

 

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2021-11-13
  • 2021-11-13
  • 2021-12-09
相关资源
相似解决方案