From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Error Message : No DPMI? Date: Fri, 03 Jan 1997 18:42:43 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 32 Message-ID: <32CDC3A3.3A42@cs.com> References: <32CD30DC DOT 2AB9 AT amp DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Bruce W. Bodnyk wrote: > > I wrote a program which I gave to someone who is trying to run > it in a DOS shell under Windows/NT. When they try to run it > they get the error message "Load Error: No DPMI". > > What should I tell them to do? It runs fine for me! If you read 'readme.1st' or the FAQ, you would know that DJGPP v2 programs require a DPMI host in order to run. DPMI services are provided by a large number of environments, such as Windows 3.1/95/NT, QEMM386, 386MAX, 4DOS, OS/2 DOS emulator, Linux dosemu, etc. For those users running under plain DOS, there is a free DPMI host provided with the DJGPP distribution called cwsdpmi (v2misc/csdpmi3b.zip). For maximum portability, all DJGPP programs should be distributed with cwsdpmi.exe, unless they are not intended to be run in plain DOS. That said, if this person is using NT to run your program, it _should_ work. Have him check the DOS emulator settings in NT to make sure that it is providing DPMI services to the DOS shell. If not, he should turn this on. Alternatively, just give him cwsdpmi and have him put it in the same directory as the program or anywhere on his PATH. Good luck! -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | God's final message to His Creation: | http://www.cs.com/fighteer | | "We apologize for the inconvenience."| Fight against proprietary | | - Douglas Adams | software - support the FSF!| ---------------------------------------------------------------------