A
Alexander Adam
Hi,
I was searching a long time but didn't find a solution, some sample or
anything..
Our C++ Stuff (a graphic engine) can be compiled on windows, linux and
others and I heard about
using JNI but I am not quite
sure how that works. For example we cannot produce our header file with
javah from a*.java sourcefile as our
header file is already there and we cannot just change it, so how to
implement that in java?
The next issue is that the dll creates a visual context where you can draw
something. The issue is, how should that
work on Java / Eclipse ? I mean, somehow the dll needs to catch all the
mouse events, keyboard events etc. and redraw
itself at the right time etc.. How is that possible? Or is it even possible?
Alex
I was searching a long time but didn't find a solution, some sample or
anything..
Our C++ Stuff (a graphic engine) can be compiled on windows, linux and
others and I heard about
using JNI but I am not quite
sure how that works. For example we cannot produce our header file with
javah from a*.java sourcefile as our
header file is already there and we cannot just change it, so how to
implement that in java?
The next issue is that the dll creates a visual context where you can draw
something. The issue is, how should that
work on Java / Eclipse ? I mean, somehow the dll needs to catch all the
mouse events, keyboard events etc. and redraw
itself at the right time etc.. How is that possible? Or is it even possible?
Alex