Date: Sun, 20 Apr 1997 17:30:09 +0300 (IDT) From: Eli Zaretskii To: Chris Croughton cc: djgpp AT delorie DOT com Subject: Re: CWSDPMI problem In-Reply-To: <97Apr18.173655gmt+0100.21890@internet01.amc.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 18 Apr 1997, Chris Croughton wrote: > I'm running under DesqView, and letting DJGPP and the programs > it generates load CWSDPMI as they want. That works fine. > However, if I run one program in a window, and another in > a different window (typically gcc and info) then whenever one > tries to exit it comes up with a sharing violation because > they're using the same swap file. I haven't had any other > problems with them sharing (yet). Did you try to use QDPMI? I don't know if it has such problems (I don't use DesqView), but given that it is from the same shop, it might work better. > Admittedly, I do have the source, and if I could find my DesqView > API spec then I could probably change it to use a different swap > file in each window, but that's not very elegant. Having an > environment variable would be preferable. Why not change CWSDPMI to use an environment variable to compute the name of the swap file?