"Benjamin Smedberg" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:[EMAIL PROTECTED]
> Stefano wrote:
>> building my MFC embed component over "granparadiso" source with MSVC 8.0, 
>> I
>> obtain :
>>
>> error LNK2019: unresolved external symbol "public: wchar_t const *
>> __thiscall nsAString::BeginReading(void)const "
>> ([EMAIL PROTECTED]@@QBEPB_WXZ) referenced in function "public: 
>> wchar_t
>> const * __thiscall nsString_external::get(void)const "
>> ([EMAIL PROTECTED]@@QBEPB_WXZ)
>>
>> what about ?
>
> I don't know what sources you're building MFCEmbed was removed several
> months ago.
>
> --BDS

I'm not building MFCEmbed test but a component of mine.

I've built granparadiso with MINGW32 successfully.
>From the directories \obj-i686-pc-mingw32\dist\include and
\obj-i686-pc-mingw32\dist\lib
I've extracted headers and libs to include and link to.

If I try to compile the next test code with MSVC8.0

#include "stdafx.h"
#include "test.h"
#include "nsStringAPI.h"

#pragma comment(linker, "/NODEFAULTLIB:MSVCRT")
#pragma comment(lib, "xpcomglue_s.lib")
#pragma comment(lib, "xpcom.lib")

int APIENTRY _tWinMain(HINSTANCE hInstance,  HINSTANCE hPrevInstance, LPTSTR 
lpCmdLine,  int       nCmdShow)
{
  nsString str;

  str.get();

  return 0;
}

I obtain the above  error.


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to