Mail Archives: djgpp/1997/07/28/13:03:44
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
- Raw text -