开发者

How do I convert this program to work on a 64 bit machine for VB 6.3?

开发者 https://www.devze.com 2023-04-01 14:29 出处:网络
I have some VB 6.3 code that\'开发者_开发问答s normaly used on a 32 bit machine. But I am now trying to run it on a 64bit machine and the code doesn\'t work.

I have some VB 6.3 code that'开发者_开发问答s normaly used on a 32 bit machine. But I am now trying to run it on a 64bit machine and the code doesn't work. It was programmed in VBA (autodesk)

Can someone help me with converting?

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


See Compatibility Between the 32-bit and 64-bit Versions of Office 2010 for a list of affected API calls and examples of conditional compilation to call either the 32- or 64-bit Declare statement depending on the bitness.

0

精彩评论

暂无评论...
验证码 换一张
取 消