dll_path = L:\BaiduNetdiskDownload\master-master\dd.32695\dd32695.x64.dll
if !hLib := DllCall(“LoadLibrary”, “Str”, dll_path, “Ptr”)
throw “Failed to load dll”
if !pFunc :=DllCall(“dd32695.x64.dll\DD_key”, “Int”, 0)
throw “Failed to initialise button”
E::
DllCall(“dd32695.x64.dll\DD_key”, “Int”, 201,1)
DllCall(“dd32695.x64.dll\DD_key”, “Int”, 201,2)
Return
;DllCall(“FreeLibrary”, “Ptr”, hModule)
上面是绝对路径,下面怎么又是相对路径了?
我是照葫芦画瓢,把他人鼠标模拟的代码换成按键模拟,鼠标模拟有效,按键却无效了
少一行代码