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 Reply-To: Cygwin List Message-Id: <6.2.0.14.0.20050202112145.0594c008@pop.prospeed.net> Date: Wed, 02 Feb 2005 11:23:50 -0500 To: omesmeur AT yaccom DOT com, From: Larry Hall Subject: Re: problem loading JNI Dll with IPC In-Reply-To: <02f501c50914$b2e316b0$5102a8c0@yaccom.lan> References: <02f501c50914$b2e316b0$5102a8c0 AT yaccom DOT lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:48 AM 2/2/2005, you wrote: >Hi, > >We have a problem using JNI and IPC under cygwin. > >We compile a DLL using gcc but without -mno-cygwin option because we >need IPC functionalities. > >It's worked fine with previous version of cygwin (< 1.5.5), but now that >we are using cygwin version 1.5.9, java crashs when we launch the DLL >with system.loadlibrary(). > >This is exactly the same problem (same project) in the mail (see link >below) but the proposed solution only work on version < 1.5.5 of cygwin: > > >http://sources.redhat.com/ml/cygwin/2003-01/msg01026.html > >Is it possible to load a DLL, compiled with gcc without -mno-cygwin, >with java in new version of cygwin? No, loading cygwin1.dll in this way is not supported. We need someone interested in getting this working to provide a patch. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/