Hello!
ClearScript does not support invocation of script items via dispatch ID.
However, the VBScript functions have names, right? Why not use them? We're guessing that the Delphi application had no choice but to deal with dispatch IDs because no higher-level interface to VBScript code existed at the time.
Internally all JScript/VBScript invocation involves dispatch IDs, but ClearScript is designed to shield developers from engine-specific details like that. We'll gladly consider exposing them, but first we'd like to get a better understanding of the use case.
Thanks!
ClearScript does not support invocation of script items via dispatch ID.
However, the VBScript functions have names, right? Why not use them? We're guessing that the Delphi application had no choice but to deal with dispatch IDs because no higher-level interface to VBScript code existed at the time.
Internally all JScript/VBScript invocation involves dispatch IDs, but ClearScript is designed to shield developers from engine-specific details like that. We'll gladly consider exposing them, but first we'd like to get a better understanding of the use case.
Thanks!