delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/21/02:15:23

From: "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro key press problem
Date: Thu, 20 Nov 1997 20:37:29 -0600
Organization: Southwest Missouri State University
Lines: 11
Message-ID: <3474F3E9.7FB@nic.smsu.edu>
References: <34746735 DOT 2C3886C6 AT bigfoot DOT com>
Reply-To: aho450s AT nic DOT smsu DOT edu
NNTP-Posting-Host: clark.a26.smsu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeff W./DMT wrote:
> as soon as I hit page up, my program stops at the line ++count (without
> executing it), and terminates with an error saying that allegro received
> signal SIGSEGV and complaining of a general protectin fault.  I can't
> see how this is really any different from my original progam, which also
> detected key presses in the middle of the loop.  Anyone have any ideas?

	Post the smallest program that demonstrates the problem, and I'll see
if I can find the cause.  Without seeing the code, it's hard to say what
might be causing the crash.  Obviously your code is accessing memory it
doesn't own, but that's too vague.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019