X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: How to remove warning: cwsdpmi.swp not found Date: Fri, 12 Aug 2005 19:36:31 CDT Organization: Rice University, Houston, TX Lines: 15 Message-ID: <42fd408f.sandmann@clio.rice.edu> References: <1123785563 DOT 373055 DOT 105920 AT g49g2000cwa DOT googlegroups DOT com> <1123855974 DOT 803907 DOT 72270 AT g14g2000cwa DOT googlegroups DOT com> NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1123894075 28871 128.42.105.3 (13 Aug 2005 00:47:55 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: Sat, 13 Aug 2005 00:47:55 +0000 (UTC) X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > I want to remove the warning which I get on every invocation: > > Warning: c:\cwsdpmi.swp not found. > > Use CWSPARAM.EXE and deactivate swapping. > > I am distributing my program and I dont want the user to have to run > cwsparam.exe every time he has to run the program. Is there a way to > disable swapping through my exe itself? Distribute cwsdpmi.exe with your executable; putting it in the same directory. It will be picked first when looking for it. Distributing a modified copy of cwsdpmi.exe using cwsparam is OK and allowed by the license agreement. Or you can bind a copy of cwsdstub.exe to your executable, and use cwsparam on it (before or after binding) to disable paging, and that should also work fine.