Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <001801c00b96$6fee6bf0$86988780@LITURCHINILAP> From: "Andrea Malagoli" To: "Cygwin" Subject: Problems with Cygwin_dll.h ? Date: Mon, 21 Aug 2000 12:37:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 AT sourceware DOT cygnus DOT com