dmreg.dll这个文件有2个导出接口
SetDllPathW和SetDllPathA。 SetDllPathW对应unicode,SetDllPathA对应ascii接口.
参数如下
SetDllPathA 字符串(Ascii码表示插件所在的路径),整数(0表示STA,1表示MTA)
SetDllPathW 字符串(Unicode码表示插件所在的路径),整数(0表示STA,1表示MTA)
我的代码
dll:= raw.loadDll("\Plugins\RegDll.dll");
SetDllPath:=dll.api("SetDllPath","void(string path,INT mode)",);//这行报错---------------------------
aardio:运行时错误
---------------------------
文件:[string "//RUNAS//..."]
错误行号:#29
错误:Cannot find function 'SetDllPath' in the dll.
---------------------------------------------------
调用栈:
[kernel]: in function 'api'
[string "//RUNAS//..."]:29: in main chunk
---------------------------
确定
---------------------------
我要怎么使用这个regdll?