Linking in WSAGetLastError

DJ Delorie dj@delorie.com
Wed Sep 27 06:58:00 GMT 2000


> I'm missing something here. If the CYGWIN libraries don't export
> functions (aren't current with MS API's) then you simply can't use
> the function.

I don't see the connection with proper prototyping, but anyway...

gcc under cygwin links in a handful of libraries *every time*,
including the standard user32, gdi32, and kernel32 libraries (where
MessageBox@16 is exported, for example).  Just because cygwin itself
doesn't export the win32 functions doesn't mean you can't get them
from windows itself.  Cygwin includes import libraries for 65 system
DLLs total.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list