Problems with Cygwin_dll.h ?

Andrea Malagoli a-malagoli@uchicago.edu
Mon Aug 21 10:37:00 GMT 2000


The /usr/include/cygwin/cygwin_dll.h  header seems to have
conflicting definitions for  _cygwin_dll_entry.

It is declared as:
 int WINAPI _cygwin_dll_entry (HANDLE h, DWORD reason, void *ptr);

but it is then implemented as:
int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr)
{                                                ^^^^^^^^^^^

>From the examples in various bits of the documentation, it seems that
the right definition is the first one, with HANDLE, but I would like to
confirm this. 

Without changes, the compiler gives an error when trying to compile a DLL.

-Andrea Malagoli






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



More information about the Cygwin mailing list