Hi, I'm building my own windows application that embeds gecko. I'm getting an assertion inside NS_CheckThreadSafe which doesn't seem to make sense.
I'm using a window based on the code in mfcembed's CBrowserView. I have the application set up to initially display http://www.mozilla.org/projects/embedding. As it is starting to diplay this web page, I get the assertion 8 times. The debug console displays.... ###!!! ASSERTION: nsNativeComponentLoader not thread-safe: 'owningThread == NS_CurrentThread()', file r:\mozilla_source\mozilla\xpcom\base\nsDebug.cpp, line 528 ###!!! Break: at file r:\mozilla_source\mozilla\xpcom\base\nsDebug.cpp, line 528 The code that is failing reads.... NS_ASSERTION(owningThread == NS_CurrentThread(), msg); I don't see this happening in mfcembed, so I know its in my code. But, I'm making the same calls. I've checked my compiler switches (I'm using a Visual Studio dsp file instead of a make file), and I believe I'm using the same -CFlags and -Defines. Does anyone know if this is a compiler setting, or a runtime setting? I'm terribly frustration and any help on this would be greatly appreciated. Thanks, Paul
