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.
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.