Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro getpixel problem From: jayjohnson AT rocketmail DOT com (Jay Johnson) X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) References: MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Lines: 27 Message-ID: Date: Fri, 02 Apr 1999 00:32:49 GMT NNTP-Posting-Host: 24.93.93.236 X-Complaints-To: newsabuse AT tampabay DOT rr DOT com X-Trace: newse3.tampabay.rr.com 923013169 24.93.93.236 (Thu, 01 Apr 1999 19:32:49 EST) NNTP-Posting-Date: Thu, 01 Apr 1999 19:32:49 EST Organization: RoadRunner - Carolina To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com OOPS, the textbuf is 50 not 5! Parts of the code: BITMAP buffer; int temp; char textbuf[50]; ... putpixel(buffer, 0, 0, 6); temp=getpixel(buffer, 0, 0); sprintf(textbuf, "getpixel:%d", temp); textout(buffer, font, textbuf, 5, 70, 6); ... It seems like I should be getting a 6 out of the getpixel, but I only get 0. Please drop me an email if you can help, jayjohnson AT rocketmail DOT com