This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

linking Cygwin DLL into non-cygwin app


It is an old problem, but I haven't found good
solution on Internet yet. I have to link Cygwin application
with Java from Sun (1.4.0).
I need both invocation API and linking a Cygwin DLL into
JVM (using System.loadLibrary("<library name>")).
I have examples from www.xraylith.wisc.edu/~khan/software/gnu-win32/
(point 6).
After little hacking invocation example works fine (jni-invoke).
But linking Cygwin DLL into JVM (implementation of native methods)
does not work (DLL made with MSVC++ works fine).
Do you have any insights ? All infos I have found with Google
and on Sun website are bit out-dated and/or not detailed enough.
Maybe an issue with an DLL entry point ? (I have tried a few possibilites).

Thanks in advance,
Olek Salwa

-- 
asalwa@hagen-partner.de                         asalwa@polstage.pl
ICQ#: 108588073                                        GG#: 208147
o-----------------   (c) All rights reversed  -------------------o

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]