-----Original Message-----
From: Ron Parker [mailto:[email protected]]
Sent: Friday, June 04, 2010 10:53 AM
To: [email protected]
Subject: Re: atomic operations in VBScript
By the way, Doug discovered a really cute workaround for the specific case
of Scripting.Dictionary. This will create the Scripting.Dictionary object in
your own thread, so the reentrancy you're currently seeing shouldn't happen.
Instead of CreateObject("Scripting.Dictionary") use
Strings("<wescriptui><strings /></wescriptui>")
This workaround should continue to work in the future, because Strings is
documented to return a Scripting.Dictionary object.
Cute!
Could I convince someone this topic deserves a short wiki article explaining
the issue and the solution? (I really don't think, even though I think I
understand the issue, that I could explain it well enough)?