Mail Archives: djgpp/1997/04/20/10:46:47
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 -