From: Erich Hoover > Hmm, interesting - thanks for taking a look into this, I really appreciate > it. I ran a test on a different XP SP3 machine here (this time a dual-core) > and it worked just fine. So, at first I thought this must be an issue to > the combination of multi-core and Windows 7. > However, if the location of the exception has anything to say about it > (crashing after test_Navigate2:test_LocationURL), then my guess would be that > it's because of the "wb" global. I didn't notice this before (or if I did, I > forgot) but test_Navigate2:test_ready_state uses the IWebBrowser2 "wb" global, > which I did not initialize until after test_Navigate2. > If you wouldn't mind giving it a try on your system where the error is > reproducible, I've attached a revised patch where this variable is initialized > properly.
Jackpot. This version ran 10,000 times without a glitch on the dual-core machine. Greg.