Mail Archives: djgpp/1999/08/11/07:43:44
Delbeke P. writes:
> Can someone tell me why DPMI disappears each time a program used it.
From cwsdpmi.doc:
Directions for use (server can be used in either of two different ways):
1) "cwsdpmi" alone with no parameters will terminate and stay resident
FOR A SINGLE DPMI PROCESS. This means it unloads itself when your
DPMI application exits. This mode is useful in software which needs
DPMI services, since CWSDPMI can be exec'ed and then will unload on
exit.
2) "cwsdpmi -p" will terminate and stay resident until you remove it.
It can be loaded into UMBs with LH. "cwsdpmi -u" will unload the TSR.
But, your game should be automatically loading cwsdpmi at startup,
so you should never need to run it yourself. Make sure that the
cwsdpmi.exe file in one of the directories on your path, or in the
same directory as your program executable, and that you aren't
doing anything weird like stubediting your program to use a
different DPMI server.
Shawn Hargreaves.
- Raw text -