rizwan wrote:This is the exact error: "error LNK2019: unresolved external symbol "public: wchar_t const * __thiscall nsAString::BeginReading(void)const " (?BeginReading@nsAString@@QBEPB_WXZ) referenced in function "public: wchar_t const * __thiscall nsString_external::get(void)const " (?get@nsString_external@@QBEPB_WXZ)"
Well, it sounds to me a Unicode problem. Probably specifying a compiler option (not a linker option) "/Zc:wchar_t-" can help? It makes wchar_t a mare 16bits int, like PRUnichar in NSPR.