| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <418E3D6B.2060102@familiehaase.de> |
| Date: | Sun, 07 Nov 2004 16:21:15 +0100 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 |
| MIME-Version: | 1.0 |
| To: | Solly Ezekiel <sol_ezekiel AT yahoo DOT com> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: JNI call crashes the JVM |
| References: | <20041107151109 DOT 78247 DOT qmail AT web90008 DOT mail DOT scd DOT yahoo DOT com> |
| In-Reply-To: | <20041107151109.78247.qmail@web90008.mail.scd.yahoo.com> |
| X-IsSubscribed: | yes |
Solly Ezekiel wrote: > Lapo, > > Thank you, this is just what I was looking for. I > will try what you suggest and let you know how it > turned out. > > Out of curiosity, when I do a cygcheck on my DLL, I > see this: > > $ cygcheck GcNativeLib.dll > Found: .\GcNativeLib.dll > GcNativeLib.dll > C:\WINDOWS\system32\msvcrt.dll > C:\WINDOWS\system32\KERNEL32.dll > C:\WINDOWS\system32\ntdll.dll > C:\cygwin\bin\cygwin1.dll > C:\WINDOWS\system32\ADVAPI32.DLL > C:\WINDOWS\system32\RPCRT4.dll > > Does this mean the other DLLs are never getting > loaded? It is a difference if you link against a library or try to open a library during runtime with LoadLibrary. In this case your DLL is linked against cygwin1.dll *and* msvcrt.dll which will crash your application for sure, you cannot link to two different c-runtimes. Gerrit -- =^..^= -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |