Message-Id: <199609260017.TAA03163@ghgcorp.ghgcorp.com> Comments: Authenticated sender is From: "Bachtel" To: Date: Wed, 25 Sep 1996 19:06:47 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: GRX20 problems resolved. Ok, if you insist: ******* BEGIN LAME FAQ ENTRY ******** Q1: I am trying to use GRX2.0, but there isn't any documentation. Help!! Q2: I can start a graphics session in GRX2.0, but when I follow the code in the BitBlt test program, I keep getting strange errors! A1: The best way to get an idea of the structure of GRX2.0 programs is to copy TEST.H into your editor, undefine the #defines, and use the given main() function. (Make sure you change it to type int!) A2: Because the BitBlt demo uses TEST.H, the graphics mode is initialized _before_ the demo even runs. Make _sure_ that the graphics mode you desire has been intialized before you do a GrCreateContext call. Otherwise, a NULL pointer is returned, with no error! ***** END LAME FAQ ENTRY ******** I personally don't think I'm qualified for the actual manual, tho :) Cheers, Jeff rbachtel AT ghgcorp DOT com shotoftquila AT juno DOT com > > On Tue, 24 Sep 1996, Bachtel wrote: > > > Now, as an aside, would someone put this in the FAQ? > > If you'd care to describe the problem and its symptoms, and say a bit more > about a solution, I can think about putting this into the FAQ (I can't > really put there something which I myself don't understand). I don't > *promise* it will go into the FAQ, because I only put there problems which > popped up at least a few times. The FAQ is already too large. But > describing the problem and the solution would be the first step in the > right direction: at least people can look it up by searching the DJGPP > mail archives. > > > Even better would be better procedural outlines > > on graphics functions in the library in the documenation. > > Who's better to write those procedural outlines than a person who got > burned by a lack thereof? > >