T
Tim
Having created a JVM from C++ using the Invocation interface, how can I
call back from the Java to my C++ code? I am sure this must be simple
but I can't find a reference to how to do it, and I am up against the
clock
I am fine with using JNI to load & call a native DLL from Java, but
here I am wanting to call back to the invoking C++ code - ie I am not
using system.loadlibrary.
On a slightly different tack, if I invoke the JVM frrm a DLL using the
invocation api, then use system.loadlibrary with that dll name, does
that just return a "handle" to the DLL that is already loaded (which
would enable me to accomplish the above) - or will it load a new
instance?
Thanks
Tim
call back from the Java to my C++ code? I am sure this must be simple
but I can't find a reference to how to do it, and I am up against the
clock
I am fine with using JNI to load & call a native DLL from Java, but
here I am wanting to call back to the invoking C++ code - ie I am not
using system.loadlibrary.
On a slightly different tack, if I invoke the JVM frrm a DLL using the
invocation api, then use system.loadlibrary with that dll name, does
that just return a "handle" to the DLL that is already loaded (which
would enable me to accomplish the above) - or will it load a new
instance?
Thanks
Tim