Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uwm.edu!ogicse!milton!gibdo!slh From: slh@gibdo.engr.washington.edu Newsgroups: comp.os.os2.programmer Subject: Re: Making a DLL... Summary: LLIBDLL Keywords: DLL, System error.., LLIBDLL Message-ID: <1991Apr17.110518.13084@gibdo.engr.washington.edu> Date: 17 Apr 91 11:08:27 GMT References: <1991Apr15.184434.14562@grasp1.univ-lyon1.fr> Sender: news@milton.u.washington.edu (News) Reply-To: slh@gibdo.engr.washington.edu (PUT YOUR NAME HERE) Organization: zippity Lines: 11 In article <1991Apr15.184434.14562@grasp1.univ-lyon1.fr> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes: |Hi networkers, | | I'm trying to make a DLL for an OS/2 multi tasking program. I've written |my C program, compile it with the following options: | cl -FPa -Alfu -DDLL -W3 -G2s -c prog.c |Then I link it with the following command: | link prog /noi,dll.dll,,crtlib.lib doscalls.lib /nod,dll.def; ------------ on thing I see is you need to link with the dll version of the library (LLIBDLL.LIB, I think is the name)