On 05/01/2007, Pete Flugstad wrote: > On 5/1/07, Brian Dessent <brian AT dessent DOT net> wrote: ^^^^^^^^^^^^^^^^^^^^^^^^ <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks,
> > 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 the 3rd party DLL present, everything > works just fine. My JNI functions are called and work (just debug printouts > in that case). Only when I actually call the 3rd party DLL (and obviously > I'm linking against it), does it fail - and it fails before it even > tries to call > a function - during the loading phase. I think the questions you need to ask yourself are: o What are you using in place of the 3rd party DLL in the cases where it works? o How was it compiled? o How well do those settings match what the 3rd party DLL used? Depending what the answers are, it may well describe your successes and failures. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/