Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D1321A9.21909BBD@hagen-partner.de> Date: Fri, 21 Jun 2002 14:52:57 +0200 From: Aleksander Salwa X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: linking Cygwin DLL into non-cygwin app Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit 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("")). 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 AT hagen-partner DOT de asalwa AT polstage DOT 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/