My XPCOM component stopped working when I updated from 1.7a to 1.7b. Maybe someone else has a clue because I'm clueless.
I can demonstrate the problem with the sample component. (I'm on WinXP using VS.NET 2003.) 1. Start up xpcshell. 2. Type: var c = Components.classes["@mozilla.org/sample;1"].createInstance() 3. An ASSERT pops up ###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file c:/Mozilla/m ozilla/xpcom/components/nsNativeComponentLoader.cpp, line 142 4. And the error is translated into a JavaScript exception. Unfortunately, the debugger is not of much help (I think this is because the code in the component is boilerplate.) However, step 2 works correctly in my 1.7a system. Note, in addition, that the testjig nsTestSample.exe works just fine. So the component is there, is registered, and runs. Steve Swanson [EMAIL PROTECTED] MacKichan Software, Inc. http://www.mackichan.com _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
