留言与评论(共有 0 条评论) |
发布时间:2020-04-15 16:44:13
64位系统在Declare后加上一个PtrSafe即可:
可以通过修改以下代码就可以修复:添加PtrSafe属性,将:Private Declare Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _As String, ByVal wCmd As Integer, ByVal dwData As String) As IntegerPrivate Declare Function GetActiveWindow Lib "USER32.DLL" () As Integer改为:Private Declare PtrSafe Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _As String, ByVal wCmd As Integer, ByVal dwData As String) As IntegerPrivate Declare PtrSafe Function GetActiveWindow Lib "USER32.DLL" () As Integer
留言与评论(共有 0 条评论) |
全站搜索