From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: cwsdpmi noswap Date: Sun, 26 Oct 1997 21:18:05 Organization: Aspen Technology, Inc. Lines: 13 Message-ID: <3453b38d.sandmann@clio.rice.edu> References: <62imif$1sp AT news DOT xgw DOT fi> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: dmcap2.dmccorp.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > How can I give cwsdpmi command line options (-s-)? I have tried > hex-editing the 'cwsdpmi.exe' text in the binary from > 'CWSDPMI.EXE',0,0,0,0,0 to 'CWSDPMI.EXE -s-',0 but it doesn't help. I've > also tried editing the source where is the text cwsdpmi.exe and compiling > but it does exactly the same thing. If you want to add a command option, you would have to hack the source for the stub when it execs the image. You don't want to do this. You can set the swap capabilities via cwsparam. So, do the following: 1) copy cwsdpmi.exe csdpnosw.exe 2) cwsparam csdpnosw.exe swapfile="" 3) stubedit the djgpp image you want to run to specify csdpnosw.exe instead