From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <7onkea$q6p$1 AT trex DOT antw DOT online DOT be> Subject: Re: cwsdpmi Lines: 29 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: <2eTr3.3212$X4.7398@newsfeeds.bigpond.com> Date: Tue, 10 Aug 1999 13:58:18 +1000 NNTP-Posting-Host: 139.134.162.71 X-Trace: newsfeeds.bigpond.com 934281214 139.134.162.71 (Tue, 10 Aug 1999 20:33:34 EST) NNTP-Posting-Date: Tue, 10 Aug 1999 20:33:34 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Delbeke P. wrote in message <7onkea$q6p$1 AT trex DOT antw DOT online DOT be>... >Can someone tell me why DPMI disappears each time a program used it. > >e.g : > >C:\...\>game.exe > Load error : no DPMI - get csdpmi*b.zip >C:\...\>cwsdpmi.exe >C:\...\>game.exe > (play the game) > (quit the game -- it's not good anyway :-) >C:\...\>game.exe > Load error : no DPMI - get csdpmi*b.zip > I'm not quite sure why this is happening, but I have a suggestion. Don't DJGPP programs automatically look through the directories in the path to see if cwsdpmi.exe is in one of them? This way, you just have to add the directory with cwsdpmi in it to the path (although this should be done if you have your djgpp/bin in the path, unless you've unzipped cwsdpmi elsewhere?) and your program will load the dpmi server automatically. -- Johan Venter ICQ 3643877 Visit The TPU DJGPP Interest Group: http://surf.to/djgppig