This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Problems with Cygwin_dll.h ?
- To: "Cygwin" <cygwin at sourceware dot cygnus dot com>
- Subject: Problems with Cygwin_dll.h ?
- From: "Andrea Malagoli" <a-malagoli at uchicago dot edu>
- Date: Mon, 21 Aug 2000 12:37:11 -0500
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