Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37A8F194.52FC3C0C@saul.cis.upenn.edu> Date: Wed, 04 Aug 1999 22:06:12 -0400 From: Radu Grosu Organization: UPenn X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: Mumit Khan CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Creating two dlls References: <199907301803 DOT NAA31442 AT mercury DOT xraylith DOT wisc DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mumit, I have to questions: 1. Is it possible to compile your java-jni/c/HelloWorld example such that it runs also from a Windows98/dos window? Currently I can run it only by starting it from a cygwin window. 2. I am trying to build a java-jni /c application myself. For this, I started with a set of standard C programs (that run on dec-alpha with java/c) and built the dll libraries as you told me. This worked. Unfortunately, when starting the java application, the library is load but I get the following error message: JAVA caused an invalid page fault in module CU.DLL at 015f:69aa0816 The dll I am loading by java is JMDD.DLL. It was built by using CU.LIB and GLU.LIB. I tried also by building JMDD.DLL by using instead of CU.LIB another library I built, CMU.LIB but I get now invalid page fault in CMU.DLL. The dependencies are: glu / | \ cmu | cu \ | / jmdd Do you have any idea why this happens? Many thanks again, radu -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com