我有一些通常在 32 位机器上使用的 VB 6.3 代码。但我现在正试图在 64 位机器上运行它并且代码不起作用。它是用 VBA (autodesk) 编程的,
有人可以帮我转换吗?
Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, _
ByVal dwProcessID As Long) As Long
Declare Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As Long, lpExitCode As Long) As Long