Support for IActiveScript IDispatch calls
Status: Alpha
Brought to you by:
kostr
IActiveScript::GetScriptDispatch should return a dispatch inerface that the host can use to call into functions, methods, and variables of the engine.
This means an engine that parsed the following:
function test : string;
begin
result := 'succeeded';
end;
Should give a valid DispID when calling GetIDsOfNames on the dispatch interface returned by IActiveScript::GetScriptDispatch, and execute this function and return a Variant set to VT_BSTR,"succeeded" when calling Invoke with that DispID.