Callback from C++ to Java (JNI)
843829Aug 22 2003 — edited Sep 1 2003I have two layers: one in Java and one in C++.
I would like to make a callback from C++ to Java.
How will it be possible to make the mapping between the Java method and the C++ method so that the Java method will know which C++ method to call back once its job is done?
It seems to be quite easy the other way around, and there are many examples on the net, but a call initiated from C++ seems to be less common...
Any help?
Cheers
Jerome Coupe