www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/14/16:34:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Clark Cooper <coopercc AT netheaven DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019