Menu

#2 Support for IActiveScript IDispatch calls

open
nobody
None
5
2007-12-24
2007-12-24
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.