Newsgroups: comp.os.msdos.djgpp From: "Mike Ruskai" Message-ID: References: <19981109193917 DOT 12218 DOT rocketmail AT send102 DOT yahoomail DOT com> X-Newsreader: PMINews 2.00.1201 For OS/2 Organization: TLF MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: DPMI Lines: 27 Date: Mon, 09 Nov 1998 21:06:26 GMT NNTP-Posting-Host: 24.3.130.120 NNTP-Posting-Date: Mon, 09 Nov 1998 13:06:26 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 9 Nov 1998 11:39:17 -0800 (PST), Ruediger Lange wrote: >Hi, > >i'm just getting started with programming in C, so maybe this question >seems trivial to you... > >I can run a compiled program in a dos box under Win98 >but not the WIN98 Dos-mode (if you restart to dos). >It gives me an DPMI error. Why ? Is there a workaround ? Thank for you >answer ! :-) Ruediger DPMI stands for DOS Protected Mode Interface. There must be an active DPMI server to run a DPMI program. Standard behavior is for the first DPMI program to assume the role of server if none is already present. Since the compiler doesn't do this automatically, you'd have to do a lot of undercover work. The only other way to enable DPMI programs in a normal DOS box is to load a memory manager that provides DPMI server functionality. QEMM does this, and probably also 386Max. -- - Mike Remove 'spambegone' to send e-mail.