www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/24/21:24:21

Message-Id: <199609250117.UAA11218@ghgcorp.ghgcorp.com>
Comments: Authenticated sender is <rbachtel AT mailman DOT ghgcorp DOT com>
From: "Bachtel" <rbachtel AT ghgcorp DOT com>
To: djgpp AT delorie DOT com
Date: Tue, 24 Sep 1996 20:04:57 +0000
MIME-Version: 1.0
Subject: GRX20 problems resolved.

Hi, everyone. I found out what I was doing wrong in my program, and 
thought I'd post it for other newbies. When you want to use the 
Grx2.0 GrCreateContext and GrBitBlt functions, make _certain_ that 
the video mode is initialized _before_ you try to create the 
context, otherwise a NULL value is returned, and no compile-time or 
run-time errors will flag.

Now, as an aside, would someone put this in the FAQ? I'm not a great 
C programmer, but neither am I a _total_ idiot, and this had me 
stumped for forever. Even better would be better procedural outlines 
on graphics functions in the library in the documenation. (I realize 
that this was beta, and documentation is still being written).

Anyway, I'm sorry if it sounds like I'm bitching, 'cuz I'm not. Also, 
thanks to all the people (alright, just Bill) who helped me with 
this.

Cheers,
Jeff
rbachtel AT ghgcorp DOT com
shotoftequila AT juno DOT com

- Raw text -


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