delorie.com/archives/browse.cgi | search |
From: | "Red Angel" <red DOT angel AT flashnet DOT it> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | R: Allegro mouse fail |
Date: | Thu, 10 Jun 1999 20:23:02 +0200 |
Organization: | Customer of Flashnet S.p.A. - http://www.flashnet.it |
Lines: | 35 |
Message-ID: | <7jp01a$6k1$1@news.flashnet.it> |
References: | <7jmo0b$e1q$1 AT news DOT flashnet DOT it> <7joaqv$am7$1 AT wanadoo DOT fr> |
NNTP-Posting-Host: | 195.191.110.59 |
X-Trace: | news.flashnet.it 929039210 6785 195.191.110.59 (10 Jun 1999 18:26:50 GMT) |
X-Complaints-To: | abuse AT flashnet DOT it |
NNTP-Posting-Date: | 10 Jun 1999 18:26:50 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> >I've a problem with allegro mouse routine. > >I'm programming a game and I try to move a sprite on the screen using the > >mouse. > >To do this I look for mouse_b & 1 and then I call a member function of > >my own class that move the sprite across the screen. > >It seems to work fine but after some click (about 10), the program exits > >(and it should not do this). > > The problem should be : > - a problem in your source : you must first be sure you called in this order > : > * allegro_init() > * install_timer() > * install_mouse() >.... > Check that you call mouse.com in your autoexec.bat. I use djgpp and rhide under Windows 98 so I don't need mouse.com in my autoexec.bat > The last thing is to try to have a look at eventual error messages at the > end of you program (like seg fault with a lot of numbers on the screen). > You should post a copy of your autoexec.bat and config.sys so that we can > have a look. > Some errors have been rised up and it seems like a function call another function that call another function that cause the problem infact in the error window in rhide there are 3 function name listed. Red Angel
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |