Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 29 Jan 2001 12:45:48 -0500 Message-Id: <200101291745.MAA10219@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: dfeustel AT mindspring DOT com CC: cygwin AT sources DOT redhat DOT com In-reply-to: <010e01c089fb$a825cca0$6701a8c0@dafcor1qondarn> (dfeustel AT mindspring DOT com) Subject: Re: Cygwin lib files References: <20010126173102 DOT 3803 DOT qmail AT web1902 DOT mail DOT yahoo DOT com> <00ff01c089fa$51865000$275c100a AT actfs DOT co DOT uk> <010e01c089fb$a825cca0$6701a8c0 AT dafcor1qondarn> > It ocurred to me that, if there were a .lib file for the cygwin dll, > that it could be linked in with and used by VS6 exes that were > compiled using the cygwin headers. Cygwin is more than just a library. You can't build cygwin programs with MSVC because MSVC will use the MS runtime; you need to use gcc to use the cygwin runtime. Plus, cygwin isn't a .lib and probably never will be a .lib. It's a .dll. You can, however, use LoadLibrary to load the cygwin DLL and manually initialize it and call *some* of its functions. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple