Having just done this myself, here are the notes I left myself for future reference:
When migrating from the 1.8 branch of the mozilla tree to the 1.9 (HEAD) branch, the following changes were also noted: The ascii/ut8 to UCS-2 string functions were renamed. See the newsgroup message title: Removal of *UCS2* string conversion functions from org.mozilla.lists.dev-tech-xpcom ( http://markmail.org/message/it3sosd4hrllqvll ) for more details. In reality we should not be using these conversion functions and should use nsString classes to handle it instead. NS_STATIC_CAST went away. Casting was hard coded in its place for internal libraries. A proper conversion method should be determined based on what the mozilla source that was effected by this change did. Migration from 1.8 to 1.9 notes: http://developer.mozilla.org/en/docs/Migrating_from_Internal_Linkage_to_Frozen_Linkage That last one is important :) I also make calls to the JavaScript VM from my C++ code, so it is important to note the following newgroup thread where I found the solution to my problems with a JS_ASSERT call, appearently this was something required all along, but didn't seem to effect my 1.8 based code: http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/41242751cc8d4b9f# On Apr 30, 1:23 pm, "Phil McLachlan" <[EMAIL PROTECTED]> wrote: > Our application embeds Mozilla FF2, and we have recently tried an upgrade to > FF3. This resulted in many errors for our various XPCOM DLLs. For starters > we get the following link error. Does anyone know if these symbols have > changed libraries? Thanks. > > MMPlayer.obj : error LNK2019: unresolved external symbol "public: void > __thiscall nsCOMPtr_base::assign_with_AddRef(class nsISupports *)" > ([EMAIL PROTECTED]@@QAEXPAVnsISupports@@@Z) referenced in > function "public: class nsCOMPtr<class nsIServiceManager> & __thiscall > nsCOMPtr<class nsIServiceManager>::operator=(class nsIServiceManager *)" > ([EMAIL PROTECTED]@@@@[EMAIL PROTECTED]@@@Z) > > QTPlayer.obj : error LNK2001: unresolved external symbol "public: void > __thiscall nsCOMPtr_base::assign_with_AddRef(class nsISupports *)" > ([EMAIL PROTECTED]@@QAEXPAVnsISupports@@@Z) _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
