Mail Archives: djgpp/1996/12/23/21:07:26
Elliott Oti wrote:
>
> This also happens the other way round; calling a djgpp program from
> within a Watcom/DOS4GW program results in a crash also.
>
> My question: how can this unpleasant behaviour be circumvented/avoided?
As Eli said, try using a neutral DPMI host like Windows 3.x/95.
CWSDPMI, Watcom, and DOS4GW programs will all use any resident DPMI that
already exists in the environment as opposed to their own. Obviously,
if CWSDPMI is already loaded, Watcom/DOS4GW programs will try to use it
and crash, and vice versa. 99.9% of DJGPP programs run under Windows,
but you may need to test this with the DOS4GW ones... and put a caveat
in your program's docs saying that they can't be run under plain DOS.
BTW, DOS4GW is a _terrible_ DOS extender. 250K for the same
functionality as CWSDPMI's 20K? I don't think so. Plus, the price
tag... ugh. Just look at Quake to see how good a game can be made
using CWSDPMI. :)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| Fight against proprietary |
| - Douglas Adams | software - support the FSF!|
---------------------------------------------------------------------
- Raw text -