Date: Wed, 16 Dec 1998 13:04:08 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: JCx cc: djgpp AT delorie DOT com Subject: Re: Problem with WinAllegro WIP7... In-Reply-To: <757uof$6ua$1@news2.isdnet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 15 Dec 1998, JCx wrote: > There comes the issue: when I press the chosen key, crash! A > nice dialog appears, telling me that my program encountered a SIGSEGV and an > exception at 0x00000009. Wow. I've included a short code excerpt to show you > what I'm trying to do when entering battle mode: Please also post the exact message printed when the program crashes, complete with the registers' dump and the stack traceback, when you report program crashes. It is much easier to guess what's wrong when that info is available. One possible problem is that your program includes some unresolved externals. The linker supplied with RSXNTDJ doesn't report such problems, so you can miss them. The DJGPP FAQ explains in section 3.6 how to use the DJGPP linker to spot such problems.