您好我最近在我的 Windows Server 2003 32 位上安装了 MS Access 2010。从那以后,我的一个 VBA 脚本运行不正常。MS Access 意外退出,导致 Kernel32 模块出现此错误。
我在我的 VBA 代码中使用了这一行。
Private Declare Function CreateProcessA Lib "kernel32" (ByVal _
lpApplicationName As Long, ByVal lpCommandLine As String, ByVal _
lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, _
ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, _
ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, _
lpStartupInfo As STARTUPINFO, lpProcessInformation As _
PROCESS_INFORMATION) As Long
以前我用的是 MS Access 2003 版本,我从来没有遇到过任何问题。MS Access 2010-Windows Server 2003-Kernel32 是否存在兼容性问题。请帮忙。谢谢