delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/02/22:45:10

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
Date: Mon, 3 Feb 2003 12:41:46 +0900
From: school <lucian AT ai DOT cs DOT scitec DOT kobe-u DOT ac DOT jp>
To: lhall AT rfk DOT com
Cc: cygwin AT cygwin DOT com
Subject: Re: Segmentation fault running JvCreateJavaVM possile bug ?
Message-Id: <20030203124146.5f6368e1.lucian@ai.cs.scitec.kobe-u.ac.jp>
In-Reply-To: <57050-22003132917512883@M2W081.mail2web.com>
References: <57050-22003132917512883 AT M2W081 DOT mail2web DOT com>
Mime-Version: 1.0

On Wed, 29 Jan 2003 12:05:12 -0500
"lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com> wrote:

> Sorry, I don't have time to try this (I don't use gcj) but have you 
> looked here:
> 
> http://cygwin.com/cygwin-ug-net/dll.html
> 
> It's hard for me to tell by the information you've given but I do 
> see some differences between what you're doing (in process) and 
> that which is described in this guide.  Perhaps that will help?
> 
> Larry
Thanks for your hint. I've got one step further.

I can link programs  against "gcc -shared " created dll but only with gcc.
I made an export file (def) and a library (lib) with implib and compiled the same sample with
bcc32 and it links ok.But at runtime an error pops up saying :

  DLLtest.exe raised an EAccessViolation class error.Illegal acces to 0000000 from 
address 6100F47B in cygwin1.dll.Procces stopped.

  This is not exactly what it shows because ,since I'm using a japanese version of win2k,
the error messages are in japanese,but it's a "close enough" translation I think.

 Do you know if this is a cygwin problem or windows or borland.I looked on the borland 
pages (that`s how I found the import method which works if it doesn`t call cygwin1.dll)
but couldn`t find anything relevant. 

Thanks for your time .
  


-- 
Lucian

--
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