Hi, I'm building my own windows application that embeds the browser. 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 display 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); If I ignore the asserts, the view does infact display the web page. I don't see this happening in mfcembed, so I know its in my code. But, I'm making the same calls. What does this assertion mean? 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 frustrated and any help on this would be greatly appreciated. Thanks, Paul
