2017-11-14 23:12
cnbala
關於CnActiveScript 使用boolean
經測試範例程式
ActiveScript.pas
ITest = interface(IActiveScriptInvokable)
procedure MsgBox(Text: string); stdcall;
procedure SetAppTitle(Text: string); stdcall;
function Add(A, B: Integer): Integer; stdcall;
function Fileexists(strFile:String):WordBool; stdcall;
end;
Fileexists 回傳 BOOL 到 SCRIPT 中會是 'True'
不是布林值
我測試使用psvActiveScript會是正常的
可否請高手看一下