More on this ...
On 08/11/2010 18:15, Benjamin Smedberg wrote:
Nowhere do I see you linking against *any* mozilla import libraries.
Since you're using -DXPCOM_GLUE, I'd expect to see libxpcomglue.lib in
your link line. Without -DXPCOM_GLUE, you'd need to link against
xpcomglue_s.lib, xpcom.lib. For more details, see the linker
information at https://developer.mozilla.org/en/XPCOM_Glue
The gfx*Surface symbols are export from libxul, if anywhere, and so
you'd also need to link against xul.lib.
With XPCOM_GLUE defined and adding xpcomglue.lib and xul.lib to the
linker command line still leaves one unresolved external ...
BrowserImpl.obj : error LNK2001: unresolved external symbol "public:
virtual unsigned int __thiscall gfxWindowsSurface::BeginPrinting(class
nsAString const &,class nsAString const &)"
(?beginprint...@gfxwindowssurface@@UAEIABVnsAString@@0...@z)
I can hack this with a local implementation but would be keen to know
why it is present.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding