www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/14/03:35:45

Date: Sun, 13 Jun 93 17:00:37 HKT
From: cs270196 AT cc DOT hkp DOT hk
Subject: using Gr function with new go32 problem
To: djgpp AT sun DOT soe DOT clarkson DOT edu

I have compiled the following simple program.

// test.cc
#include <graphics.h>
#include <pc.h>

int main() {
    GrSetMode(GR_default_graphics);
    GrSetColor(128, 255, 255, 255);
    GrLine(100, 0, 100, 100, 128);
    getkey();
    GrSetMode(GR_80_25_text);
    return 0;
}

I use both gcc222 and gcc241 to compile.  The resulting .exe file can draw the l
   ine with go32.exe from djdev109.zip but not the new djdev110.zip.

Anyway, I appreciate the DPMI support of the new go32.exe.

Regards.
- yung tin ho   cs270196 AT hkpu01 DOT cc DOT hkp DOT hk

- Raw text -


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