Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drawing to a GC through an external native library
Drawing to a GC through an external native library [message #636767] Tue, 02 November 2010 17:24
Christian Sell is currently offline Christian SellFriend
Messages: 51
Registered: August 2010
Member
Hello all,

I am having problems with printing to an SWT printer through an external library. I have created a GC for the printer device (actually, for a print preview image) and am printing to it from Java. then, at some point, I need to invoke an external component (which I have integrated via JNI) to perform additional output. For this purpose, I am passing the GC handle over into the native code.

The printing on the native side seems to go OK, since the API method I am calling returns all the correct data. However, on the Java side, the output is not visible.

can anybody provide hints here? I know this is a rather exotic issue..

thanks,
christian
Previous Topic:a swt bug? crashes on windows xp3 occurs with a customized build of xulrunner.
Next Topic:Correct way to use Listeners
Goto Forum:
  


Current Time: Sat Aug 24 15:25:31 GMT 2019

Powered by FUDForum. Page generated in 0.01906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top