[EMAIL PROTECTED] wrote:
Hello all,

I have a linker problem when using NS_LITERAL_STRING which nsString.h
is included. I have linked with xpcom.lib, xpcomglue.lib,
xpcomglue_s.lib.
Am i missing some libraries for STRING?

1) Never link against *both* xpcomglue.lib and xpcomglue_s.lib, see http://developer.mozilla.org/en/docs/XPCOM_Glue

I assume you're using libs and headers based on the 1.8 branch (Firefox 1.5 release candidates). Have you defined MOZILLA_INTERNAL_API or not? I strongly recommend using the frozen string API (nsStringAPI.h) and *not* the internal/unfrozen nsString API for embedding.

--BDS
_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to