From: AndrewJ Newsgroups: comp.os.msdos.djgpp Subject: Re: Module (maybe DLL) Message-ID: <7fdmpssujd3sjbk05b1sopi1iere704dv2@4ax.com> References: <8nedpt$g0$1 AT venus DOT telepac DOT pt> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 Date: Thu, 17 Aug 2000 00:49:51 GMT NNTP-Posting-Host: 24.42.120.18 X-Complaints-To: abuse AT home DOT net X-Trace: news2.rdc1.on.home.com 966473391 24.42.120.18 (Wed, 16 Aug 2000 17:49:51 PDT) NNTP-Posting-Date: Wed, 16 Aug 2000 17:49:51 PDT Organization: Excite AT Home - The Leader in Broadband To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Hi, I have some routines in C I would like to add to a VB project of mine. >VB accepts DLL. Is it possible to compile my C routines into a DLL? Sure you can compile C code and put it in a DLL. Not with DJGPP, however. DJGPP generates programs executable under DOS (real mode or V86). You would need a Windows compiler to do what you want. Try MingW (as Damian suggests), Cygwin or LCC-Win32. Unfortunately these compilers will take you to the (un)happy land of off topicality for this group. ------- AndrewJ "This is a wonderful answer. It's off-topic, it's incorrect, and it doesn't answer the question." - Richard Heathfield.