This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AW: DLL function with string result?

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                    
RFK Partners, Inc.            
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, and I want to expose a Haskell function in a DLL.)
>Is there a general problem about this?
> > 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:

Want to unsubscribe from this list?
Check out:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]