Date: Mon, 28 Jul 1997 12:59:53 -0400 (EDT) From: "Art S. Kagel" To: Asbjxrn Cc: djgpp AT delorie DOT com Subject: Re: DMPI question In-Reply-To: <33DC0E43.6D6@hotmail.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 28 Jul 1997, Asbjxrn wrote: > Hi, i got a little question, perhaps a bit off-topic, > but i'm curious, how does a program compiled with djgpp find a > dmpi server when it runs? Like, i have cwsdpmi.exe in my C:\dos > directory, and it runs fine, now, does the program search for > it? or is there a little trick or something? If CWSDPMI is in a directory your path then it will be found. That's all there is to it. If c:\dos in not in your path, and is not your current directory, then your program is finding another DPMI server already loaded in memory when you run it so it does not need to load CWSDPMI. If you are launching from a DOS box then windows(3.x/95/NT) is providing DPMI services, otherwise look in your config.sys (or whatever) for a DPMI server like QDPMI. Art S. Kagel, kagel AT bloomberg DOT com