www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/08/05:25:38

Date: Tue, 8 Aug 1995 11:28:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Brendan Simon <brendan AT rdt DOT monash DOT edu DOT au>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: cprintf.help

On Tue, 8 Aug 1995, Brendan Simon wrote:

> 
> I wrote a small test program that uses cprintf and getkey.  It does seem to
> work better that using printf.  This was using V2.  A curious question.

It should also work with v1.12.

> 
> I didn't give the program any prototypes and it compiled and ran just fine.
> Another thing, I didn't have CWSDPMI running either.  Do I only need CWSDPMI
> for some things and no others with V2?

V2.0 needs a DPMI host for EVERYTHING.  If you have a DPMI host installed 
(like under Windows, or QDPMI or 386Max), you don't need CWSDPMI.

> Trying V1.12m4 gave me errors about declarations (because of no header files).
> This is fine, but I can't find cprintf in conio.h for V1.12m4.  Is this a
> newer function that has been added in V2

It is there, allright.  conio.h includes gppconio.h which declares 
cprintf().

- Raw text -


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