From: poletti AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: allegro rectfill problem.. Date: Tue, 04 Aug 1998 17:00:37 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 22 Message-ID: <6q7enl$uo7$1@nnrp1.dejanews.com> References: <01bdbf51$e6ea1a80$ddba56d1 AT livivie DOT pinecrest DOT edu> NNTP-Posting-Host: 194.185.219.21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <01bdbf51$e6ea1a80$ddba56d1 AT livivie DOT pinecrest DOT edu>, "Mark Haase" wrote: > ok, i'm having this problem with allegro's rectfill function.. > > i do this: > BITMAP *bmp; > cwhite=makecol(255,255,255); > rectfill(bmp,1,1,10,10,cwhite); > > and i get a return of 255 from the program and a sigsev saying that its > shutting down allegro. i am sure its that particular line, so whats wrong > with it? Well, you declared a _pointer_ to a BITMAP... but where did you allocated it?!? I don't remember its name, but there must be some function that let you allocate a BITMAP with the proper dimensions... Hope this can help, Flavio. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum