From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI newbie Date: Wed, 18 Jun 1997 22:07:07 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 32 Message-ID: <33A85C0B.63D7@cs.com> References: <01bc7bfb$8f35b280$593c74cb AT Biggers> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp109.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 Precedence: bulk Pao Wee Boon wrote: > > I've downloaded DJGPP last night since I am interested in 32-bit DPMI > programming. Having DJGPP on my system now gets me excited but I don't know > how to go about starting a PM program, let's say a PM file manager. Do I > need to do any special inits or load any DPMI server? All you need is a DPMI host present in your system. DPMI is provided by such programs as Windows 3.1/95/NT, QEMM, 386MAX, OS/2 Warp, Linux, and more. If you run from plain DOS, you need to get the free cwsdpmi DPMI host that accompanies the DJGPP distribution. The startup code in all DJGPP-compiled programs handles all aspects of setting up PM operations for you. All you need to do is start coding. > BTW, I've also downloaded a TVision archive from one of the SimTel sites, > but I've found almost no docs (except the Readme, of course!). Now how I do > go about using those libs? Do I use them just like what I did with > Borland's C++ TV? All you should have to do is include the appropriate header files and link the library into your executable. hth -- --------------------------------------------------------------------- | John M. Aldrich | "If 'everybody knows' such-and-such, | | aka Fighteer I | then it ain't so, by at least ten | | mailto:fighteer AT cs DOT com | thousand to one." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------