Re: using Cygwin (-mno-cygwin) to JNI to a 3rd party DLL

2007-05-01 Thread Larry Hall (Cygwin)
On 05/01/2007, Pete Flugstad wrote: > On 5/1/07, Brian Dessent wrote: . Thanks, > > You'll have to run this in a debugger to be sure, but I'd start looking > > at calling convention clashes, i.e. stdc

Re: using Cygwin (-mno-cygwin) to JNI to a 3rd party DLL

2007-05-01 Thread Pete Flugstad
On 5/1/07, Brian Dessent <[EMAIL PROTECTED]> wrote: You'll have to run this in a debugger to be sure, but I'd start looking at calling convention clashes, i.e. stdcall vs cdecl. This should be a function of the header files and how they declare prototypes. The thing that's odd is that without

Re: using Cygwin (-mno-cygwin) to JNI to a 3rd party DLL

2007-05-01 Thread Brian Dessent
Pete Flugstad wrote: > But when I add the 3rd party DLL calls back in (and link against the > link lib), > everything links OK, but when I try and run it, I get an error from the JVM: > >Load Error: myJni.dll: Invalid access to memory location > java.lang.UnsatisfiedLinkError: