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: Linking in WSAGetLastError



> 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


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