delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/07:43:44

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3015677EA@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: cwsdpmi
Date: Tue, 10 Aug 1999 09:32:17 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

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 -


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