delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/29/08:15:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990429121505.333.rocketmail@web119.yahoomail.com>
Date: Thu, 29 Apr 1999 05:15:05 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: malloc and free mixing in VC++ and cygwin
To: Dominique MICOLLET <miko AT thetis DOT u-bourgogne DOT fr>,
cygwin <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

--- Dominique MICOLLET <miko AT thetis DOT u-bourgogne DOT fr> wrote:
> Hello,
> 
> I browse both FAQ, Users Manual and mailing list archive but was unable to
> find the answer to the following question :
> 
> - is it possible to malloc a buffer within a cygwin procedure and free this 
> buffer within a VC++ procedure ?
> - and inversely ?
> 
> I suspect no, but I wish a confirmation.

I would suspect no also.  However, if you use the -mno-cygwin or the mingw32
variant of gcc then the answer should be yes.  The con to using mingw32 is that
you don't get the cygwin mounted directory structure.  The pro to using mingw32
is that it will be faster as it doesn't have to emulate posix.
===
"Earnie Boyd" <mailto:earnie_boyd AT yahoo DOT com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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