This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
DECLARE_CYGWIN_DLL
- To: <cygwin at sources dot redhat dot com>
- Subject: DECLARE_CYGWIN_DLL
- From: "Suhaib M. Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Sat, 12 Aug 2000 18:19:53 -0400
Untill 1.1.3 I was using the following
#include <cygwin/cygwin_dll.h>
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@sourceware.cygnus.com