delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/06/04:04:29

From: "J.E." <cellis AT voyageur DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Why doesn't it recquire DPMI server?
Date: Mon, 01 Sep 1997 13:16:38 -0500
Organization: Bell Network Solutions
Lines: 26
Message-ID: <340B0686.5632@voyageur.ca>
Reply-To: cellis AT voyageur DOT ca
NNTP-Posting-Host: 207.236.8.9
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just wrote and compiled the following program with DJGPP:


-----------------------------------------------------------------------
#include <stdio.h>
#include <conio.h>

int main()
{
  char pause[2];
  clrscr();
  printf("Hello World");
  gets(pause);
  return 0;
}
------------------------------------------------------------------------

After exiting to DOS from Win95 (exiting to DOS, not the DOS box) I ran
this program without first loading dpmi server, and it ran fine.  Why is
this?  Shouldn't this executable need a dpmi server under DOS, or does
it only need this if I make use of 32-bit functions?  Thanks in advance
for your time and help:-)

Jordan Ellis  <cellis AT voyageur DOT ca>

"All hail Dj!"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019