delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/20/11:22:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010420103953.022a2700@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 20 Apr 2001 10:42:47 -0400
To: Lescher Christian <christian DOT lescher AT icn DOT siemens DOT de>,
"'Andrew Markebo'" <flognat AT flognat DOT myip DOT org>,
Troy Noble <troy DOT noble AT channelpoint DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: AW: DLL function with string result?
Cc: "'Christian Lescher'" <christian AT lescher DOT de>, cygwin AT cygwin DOT com
In-Reply-To: <353063C297A9D3118F760008C791E26901F8656E@MCHH263E>
Mime-Version: 1.0

Yes, there is a general problem when you want to allocate in one DLL made 
by one compiler and de-allocate in another built be another compiler.  In
this case, the heaps are different.  This is not a Cygwin-specific issue.

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 09:25 AM 4/20/2001, Lescher Christian wrote:
>Yes, that's more or less what I'm trying to do: I want to build a DLL, that should be callable from Visual Basic for Applications/MS Access.
>(I use Haskell/GHC, http://haskell.org/ghc and I want to expose a Haskell function in a DLL.)
>
>Is there a general problem about this?
>
>Christian
>
> > Uhm sorry if I missed something here.. are you doing something like
> > allocating memory in cygwin that is freed on visual, or the other way
> > around..
> > 
> > I don't think that is a good idea.. At least not when you are using
> > Visual and Borland, so I guess the same problem might happen with
> > Visual and cygwin.
> > 
> >         /Andy
> > 
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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