Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199909230745.CAA22216@mercury.xraylith.wisc.edu> To: number6 AT pcbank DOT net cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: A newbie who is stuck with creating a DLL In-Reply-To: Your message of "Wed, 22 Sep 1999 01:09:59 EDT." <37E864A7 DOT 3E7ADE77 AT pcbank DOT net> Date: Thu, 23 Sep 1999 02:45:17 -0500 From: Mumit Khan Eric Feliu writes: > Sorry to bother everyone, but I have tried to follow the instructions > provided for creating a DLL and I am having trouble. First, do I need to > have a main function declared in my c code? everytime I try to compile > create the DLL I get an error stating something about Winmain16, which I [ ... ] See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and look for "how to create DLLs ..." entry. Windows DLLs are not quite like shared libraries on Unix, and you do need to take care. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com