From: yorka AT dlc DOT fi (aYk) Newsgroups: comp.os.msdos.djgpp Subject: Re: Stubbing a Program? Date: Sat, 20 Jun 1998 10:09:19 GMT Organization: Majik Lines: 22 Message-ID: <358b8895.496452@news.dlc.fi> References: <1998061922412800 DOT SAA26297 AT ladder03 DOT news DOT aol DOT com> NNTP-Posting-Host: kou90.pp.dlc.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk First you need to compile your program into a coff object with, say: gcc -o program program.c This will result in you having two compiled components, program.exe and program (the coff object). Now do: copy /B pmodstub.exe + program program.exe And program.exe should work as expected. - aYk - >Whenever I try to stub my gcc object file with the pmodstub.exe and run the >program it tells me that there is no DPMI. But when i use pmodetsr.exe >everything works, but the mouse. I don't want to use a tsr. So how do i use >pmodstub.exe? > >once more, >Malcolm >malcolmj7 AT aol DOT com