Message-Id: <199609250117.UAA11218@ghgcorp.ghgcorp.com> Comments: Authenticated sender is From: "Bachtel" To: djgpp AT delorie DOT com Date: Tue, 24 Sep 1996 20:04:57 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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