I've run into a little bit of a problem. I am currently developing a scientific app for MacOS X Carbon, Windows XP .NET, and Linux GTK+ (later on) in C++ that connects to an Intersystems Cache OODBMS ...
I would like to have some JNI code malloc a block of memory and pass it back to my Java code (in the form of a jlong), so that future calls to other JNI functions can pass this pointer along for the ...