Message-ID: <30E4AB64FBD5D01191E500805FC108F004797569@ex1.elcsci.com> From: Mehmet Alpay To: "'djgpp AT delorie DOT com'" Subject: can't seem to get signal handling to work Date: Wed, 26 Jan 2000 13:41:16 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Reply-To: djgpp AT delorie DOT com I wrote a somewhat long simulation program and I want to be able to "interrupt" it every once in a while to check on its progress. However, the little function I wrote for SIGINT handling doesn't seem to work properly - or something else is getting messed up! In any event, whenever I hit Ctrl-C while the program is running, I get the following pop-up error window: The instruction at "0x0f003453" referenced memory at "0xffffffff". The memory could not be "read". Click on OK to terminate the application Click on CANCEL to debug the application I did include the signal.h header file in the program, and it seems to run just fine when I compile it - again using gcc - under Linux. Any ideas? Mehmet E. Alpay