From: Jakub Roth Newsgroups: comp.os.msdos.djgpp Subject: compiling Windows DLLs Date: Tue, 12 May 1998 19:08:37 +0200 Organization: Dresdner Bank , Frankfurt Lines: 15 Message-ID: <35588215.6ACA@dresdner-bank.de> Reply-To: Jakub DOT Roth AT dresdner-bank DOT de NNTP-Posting-Host: 130.21.6.53 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: Jakub DOT Roth AT dresdner-bank DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm trying to compile a Win DLL to be called from Excel (.xll). MS Visual C has a special target "DLL" and every exported fct is marked with the __declspec(dllexport) declaration. Borland C does this with the Pascal kw and an .export file. How do I do this with DJGPP? I tried various documented linker options (-E, -r) to no avail. Anyone has done this before? Any infos/suggestions/notes highly appreciated! Thank you, --Jakub Roth