Mail Archives: djgpp/1993/06/14/03:35:45
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 -