Message-ID: <3762E135.3C6FA5CD@home.com> From: Tebriel X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro reboots References: <19990612022909 DOT 01424 DOT 00000625 AT ng-fy1 DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 Date: Sat, 12 Jun 1999 22:40:32 GMT NNTP-Posting-Host: 24.1.57.119 X-Complaints-To: abuse AT home DOT net X-Trace: news.rdc1.pa.home.com 929227232 24.1.57.119 (Sat, 12 Jun 1999 15:40:32 PDT) NNTP-Posting-Date: Sat, 12 Jun 1999 15:40:32 PDT Organization: @Home Network To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This happens often when you do something you shouldn't, for example, using clear(bmp); to clear a bitmap before you use BITMAP *bmp = create_bitmap(320, 200); (or something similar) to create a bitmap in memory. I often find that when something like that is happening I'm trying to do something illegal that has to do with pointers. (And often using bitmap stuff) I doubt it's a bug in Allegro, but take a close look at your code, you'll probably find something... Marcus wrote: > Sometimes when I run a program that uses the Allegro library, the computer > reboots. > Is this some kind of bug? > > ------------------------------------------------------------------------------ > A new programmer, Marcus