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 Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: malloc and free mixing in VC++ and cygwin To: Dominique MICOLLET , cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Dominique MICOLLET 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" CYGWIN RELATED HELP: DOCUMENTATION: DLLHELP: ARCHIVE SEARCH: OR _________________________________________________________ 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