From: James5 Newsgroups: comp.os.msdos.djgpp Subject: I got it to compile but got a GPF error Date: Thu, 31 Dec 1998 22:17:58 -0800 Organization: Net AT Home Lines: 34 Message-ID: <368C6892.92876DE8@infoave.net> References: <368C4211 DOT 368399EE AT infoave DOT net> <368C2F07 DOT 502C5F06 AT immediate DOT net> <368C2FEB DOT C9086137 AT immediate DOT net> NNTP-Posting-Host: dial-32.r4.scmcnr.infoave.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news3.infoave.net 915160701 1449 207.144.91.102 (1 Jan 1999 03:18:21 GMT) X-Complaints-To: usenet AT news3 DOT infoave DOT net NNTP-Posting-Date: 1 Jan 1999 03:18:21 GMT X-Mailer: Mozilla 4.05 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks for the info, it helped out a lot. I got it to compile ok to the name bmp1.c but I get a GPF error when I try to run the exe. I have a similar prog that uses create_bitmap that does the same and works fine and used that to help go by. The bmp file is in the same dir as the .c file. Heres what I used: #include #include #include "allegro.h" int main() { BITMAP *mytest=load_bitmap("mytest.bmp",0); int x; allegro_init(); install_keyboard(); set_gfx_mode(GFX_VGA, 320, 200, 0, 0); set_pallete(desktop_pallete); for (x=20; x<300; x++) { clear(screen); blit(mytest, screen, 0, 0, x, 0, 10, 10); delay(50); } destroy_bitmap(mytest); readkey(); return 0; } Thanks again for the help. :)