delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/18/12:12:40

Sender: crough45 AT amc DOT de
Date: Fri, 18 Apr 1997 16:38:54 +0100
From: Chris Croughton <crough45 AT amc DOT de>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: CWSDPMI problem
Message-Id: <97Apr18.173655gmt+0100.21890@internet01.amc.de>

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).

If I load CWSDPMI permanent before running DesqView, that works,
but it takes up quite a lot of space and some non-DJGPP programs
have problems.  It also seems to crash some programs, I assume 
because they are trying to use 16-bit DPMI services.

Any solutions?  (Apart from running Linux instead!  I do intend
to do that at some point, after I've bought a VGA monitor and 
card.)

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.

Chris

- Raw text -


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