Re: JNI loading dlls which link to cygwin1.dll

2004-06-16 Thread Ronald Landheer-Cieslak
Have a look at the thread that starts here: http://sources.redhat.com/ml/cygwin/2003-03/msg00795.html If that doesn't help you, please report back :) (In short, that thread lead to the conclusion that there was a problem with the calling convention used. Your linker flag to add stdcall versions o

Re: JNI loading dlls which link to cygwin1.dll

2004-06-16 Thread Larry Hall
At 08:23 AM 6/16/2004, you wrote: >I have been attempting to port a large program from >Linux to Windows using Cygwin. The program is written >in Java, C and C++; using the JNI to link them >together. > >I have successfully compiled and linked all of the C >and C++ code using Cygwin, and successfu

JNI loading dlls which link to cygwin1.dll

2004-06-16 Thread Andrew Hinton
I have been attempting to port a large program from Linux to Windows using Cygwin. The program is written in Java, C and C++; using the JNI to link them together. I have successfully compiled and linked all of the C and C++ code using Cygwin, and successfully executed a test program written in C+