Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Calling VBScript function by dispatchId

0
0
So at startup the application looks up dispatch IDs by name and caches them for invocation purposes. Is that correct? Again, we're not sure it makes sense to expose dispatch IDs in ClearScript. The performance hit of invoking by name is likely to be negligible in a modern .NET environment.

As for your other question, no, VBScript has never been thread-safe. Not only that, its thread affinity means that you can only use a given VBScript instance on the thread that created it. ClearScript enforces this rule.

Viewing all articles
Browse latest Browse all 2297