Hi,
I am trying to migrate a Win32 application to mozilla-1.9 from the earlier
version of mozilla. In that earlier version, there has been a method
SelectOffScreenDrawingSurface (in nsIRenderingContext) which is no longer
available. I tried to use new thebes class (gfxWindowSurface), something
like:
surface =
gfxPlatform::GetPlatform()->CreateOffscreenSurface(gfxIntSize(width,
height), gfxASurface::ImageFormatARGB32);
etc
but the point is, it does not link. I get the following error:
error LNK2001: unresolved external symbol "public: virtual unsigned int
__thiscall gfxWindowsSurface::BeginPrinting(class nsAString const &,class
nsAString const &)"
(?beginprint...@gfxwindowssurface@@UAEIABVnsAString@@0...@z)
indeed when I look into gfxWindowsSurface.obj I see the following thing:
/EXPORT:?beginprint...@gfxwindowssurface@@UAEIABVnsAString_internal@@0...@z
Does that mean that this class is not supposed to be used outside of
Mozilla? If not, is there any more or less easy way to fix it?
--
View this message in context:
http://www.nabble.com/using-gfxWindowsSurface-in-embedding-application---linker-error%21-tp21875169p21875169.html
Sent from the Mozilla - Embedding mailing list archive at Nabble.com.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding