delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/21/08:56:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <asalwa AT hagen-partner DOT de>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 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 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019