delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/20/10:46:47

Date: Sun, 20 Apr 1997 17:30:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Croughton <crough45 AT amc DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: CWSDPMI problem
In-Reply-To: <97Apr18.173655gmt+0100.21890@internet01.amc.de>
Message-ID: <Pine.SUN.3.91.970420172932.578U-100000@is>
MIME-Version: 1.0

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019