Hi, I hope I found the right place for my question.
My plugin uses XPCOM which worked well until I tried it with Firefox 1.5b. I downloaded the newest SDK(gecko-sdk-i586-pc-msvc-1.8b1.zip) but my code doesn't compile. I got this error from the linker: RACtrlMoz error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall nsCOMPtr_base::~nsCOMPtr_base(void)" (__imp_??1nsCOMPtr_base@@[EMAIL PROTECTED]) referenced in function "public: __thiscall nsCOMPtr<class nsIDOMDocument>::~nsCOMPtr<class nsIDOMDocument>(void)" ([EMAIL PROTECTED]@@@@[EMAIL PROTECTED]) because of this line in the source: nsCOMPtr<nsIDOMDocument> doc; Although nsCOMPtr_base is in xpcomglue_s.lib, but without __imp prefix. It seems to be something around changeing calling convention in nscore.h. Maybe. Has anyone some idea how to solve this? Thanks in advance, Peter _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
