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: <39E5E9DC.2E6837F@ece.gatech.edu> Date: Thu, 12 Oct 2000 12:42:04 -0400 From: Charles Wilson X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Clark Cooper CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: cygwin_dll.h type mismatch in Cygwin 1.1.4 References: <200010121545 DOT LAA00824 AT coopercc DOT netheaven DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Fixed in snapshots. --Chuck Clark Cooper wrote: > > In /usr/include/cygwin/cygwin_dll.h from Cygwin release 1.1.4, the > DECLARE_CYGWIN_DLL macro declares: > > int WINAPI _cygwin_dll_entry (HANDLE h, DWORD reason, void *ptr); > > but defines it with: > > int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) ... > > This leads to a fatal error due to the type mismatch on my Windows NT 4.0 > system. The following patch fixes the problem on my system > > *** cygwin_dll.h Thu Aug 3 20:56:59 2000 > --- d:/cygwin/usr/include/cygwin/cygwin_dll.h Thu Sep 28 12:20:31 2000 > *************** > *** 44,50 **** > \ > static DWORD dll_index; \ > \ > ! int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \ > { \ > int ret; \ > ret = 1; \ > --- 44,50 ---- > \ > static DWORD dll_index; \ > \ > ! int WINAPI _cygwin_dll_entry (HANDLE h, DWORD reason, void *ptr) \ > { \ > int ret; \ > ret = 1; \ > > -- > Clark Cooper Software Engineer Home: coopercc AT netheaven DOT com > Schenectady, NY USA Work: cccooper AT ltionline DOT com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com