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 From: "Suhaib M. Siddiqi" To: Subject: DECLARE_CYGWIN_DLL Date: Sat, 12 Aug 2000 18:19:53 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Untill 1.1.3 I was using the following #include DECLARE_CYGWIN_DLL(DllMain); int WINAPI DllMain (HANDLE a, DWORD reason, void *q) { return 1; } for building DLLs when compiling Cygwin-Xfree. For Cygwin 1.1.4 all getting: junk.c:2: conflicting types for `_cygwin_dll_entry' junk.c:2: previous declaration of `_cygwin_dll_entry make: *** [junk.o] Error 1 Line 2 is: DECLARE_CYGWIN_DLL(DllMain); I need to get this going today as I have to turn in some patches. I hope someone, who knows more about DLLs, can respond and help quicker. Please CC a copy to me of your reply. Suhaib -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com