按键精灵,怎么调用api?我怎么调来调去一直不成功?请教.. 30
我怎么调来调去一直不成功,哪里出问题?这是我的自定义:PrivateDeclareFunctionLeftClickLib"user32"Alias"LeftClick"...
我怎么调来调去一直不成功,哪里出问题?这是我的自定义:
Private Declare Function LeftClick Lib "user32" Alias "LeftClick" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
LeftClick 展开
Private Declare Function LeftClick Lib "user32" Alias "LeftClick" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
LeftClick 展开
1个回答
展开全部
参数个数不匹配,应该是你定义的函数参数,和调用时候的参数个数不一样导致的,换成一样的就好了
还不行的话,就把完整代码发我下,我看下原因
还不行的话,就把完整代码发我下,我看下原因
更多追问追答
追问
追答
多了个参数,按这个试试
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询