Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990817123413.6043.rocketmail@web114.yahoomail.com> Date: Tue, 17 Aug 1999 05:34:13 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Using libcygwin.a for Visual C++ compiler To: Hongwei CHU , "'cygwin AT sourceware DOT cygnus DOT com'" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Hongwei CHU wrote: > Hello, > I want to use Visual C++ 6.0 to compile one Unix application which was > successfully compiled by cygwin-b20. I wrapped the cygwin1.dll to the MS > import lib libcygwin.lib and transfered it to the linker together with > Msvcrt.lib. This made the compilation successful. However, when I debugged > the application until FOPEN, CYGWIN1.dll threw the execption and failed. > So, what 's wrong with it? Is it due to the incompatibility of the MS lib > and cygwin lib? How can I solve the problem? > > I would appreciate any kind of advice. Yes. Don't mix cygwin and msvc. Cygwin is a C runtime, msvcrt is also a C runtime; YOU SIMPLY CAN'T MIX THE TWO. === Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) _________________________________________________________ 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