From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: Can I call dpmi via int86 or __dpmi_int? (int86(0x31, &r, &r);...) Date: Thu, 3 Jul 1997 14:16:48 Organization: Aspen Technology, Inc. Lines: 7 Message-ID: <33bbb450.sandmann@clio.rice.edu> References: <5pfi25$vbo$1 AT news DOT goodnet DOT com> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: spica.dmccorp.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > I want to call a DPMI function from C that doesn't have a __dpmi... wrapper. > Can I just use int86() or __dpmi_int()? Do NOT use __dpmi_int() to call dpmi functions - it will call the real mode int 31h instead, which will almost certainly hang the machine. You would be better off with inline assembler, or using int86() if you must. But I doubt there are any DPMI functions which don't have wrappers...