Hello,

I have Gecko-sdk 1.4 for windows and am using Visual C++ .NET. What is the library that I have to link against for ToNewCString?

I have the following lines in my code:

  nsEmbedString name;
  char *str;
  domDocument->GetLocalName(name);
  str = ToNewCString(name);

I get the following error.

WebLock error LNK2019: unresolved external symbol "char * __cdecl ToNewCString(class nsAString const &)" (?ToNewCString@@YAPADABVnsAString@@@Z) referenced in function "public: virtual unsigned int __stdcall WebLock::OnLocationChange(class nsIWebProgress *,class nsIRequest *,class nsIURI *)" ([EMAIL PROTECTED]@@UAGIPAVnsIWebProgress@@PAVnsIRequest@@PAVnsIURI@@@Z)




Reply via email to