Braden McDaniel wrote:
I have added code to my plug-in that uses nsCOMPtr and nsAutoString,
meaning that my plug-in must link with libxpcom.  However, I can't seem to
find the proper incantation to make this work. Invariably I see a message
like this one when starting the browser:

You should not use nsAutoString in plugins and other components that are intended for use with multiple versions of mozilla. You should be using the embedstring APIs.


To use nsCOMPtr, you don't need to link against libxpcom.so. Just link against the standalone glue (libxpcomglue.a).

--BDS
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to