举例说明
GetCursorPos(int x,int y)
x,y 是址参数
调用com.GetCursorPos(x,y)后,原来X,Y会被修改。
我尝试用raw库中的 LOADDLL后 DLL.API("GetCursorPos","INT(pointer &x,pointer &y)")
提示说 cannot find function “GetCursorPos”,
然后我找了个工具。发现GetCursorPos不是导出函数,是一个com方法。
所以现在我不知道怎样可以在调用com方法的时候传入址参数。
(文档中有说的table副作用,但是如果传入的拆开的table参数好像就没有副作用了)
GetCursorPos(int x,int y)
x,y 是址参数
调用com.GetCursorPos(x,y)后,原来X,Y会被修改。
我尝试用raw库中的 LOADDLL后 DLL.API("GetCursorPos","INT(pointer &x,pointer &y)")
提示说 cannot find function “GetCursorPos”,
然后我找了个工具。发现GetCursorPos不是导出函数,是一个com方法。
所以现在我不知道怎样可以在调用com方法的时候传入址参数。
(文档中有说的table副作用,但是如果传入的拆开的table参数好像就没有副作用了)









