Mail Archives: djgpp/1997/10/26/23:47:11
> 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
- Raw text -