This is the mail archive of the cygwin@sources.redhat.com 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: Cygwin lib files



> 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


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