I've compiled a dll using gcc-2.95.3-5 for use with JNI under jdk1.3.1_01. I can call the functions in this dll from java, no problem. What I cannot do is successfully use the JDK JNI functions (like SetIntField) from inside the dll functions - they usually crash the vm. I assume this has something to do with the way jvm.dll exports its symbols, but how do I convince my dll to call them correctly?
I simply link using -shared and no special export markers for symbols. Thanks, Peter -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
