delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/12:08:19

Message-ID: <19991012134544.29339.rocketmail@web107.yahoomail.com>
Date: Tue, 12 Oct 1999 06:45:44 -0700 (PDT)
From: Mohamed Saad <bazramit AT yahoo DOT com>
Subject: exit() makes my program crash!!!!!
To: djgpp AT delorie DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello everyone,
   how are you? hope every thing is allright!

   well... here are some small questions!

   1) a strange thing is happening! in a program of
mine, i made an Exit button! when it is pressed, it
simply calls... exit(1);
   now... the problem is that when the button is
pressed, my whole program freezes!! it does not
respond to any thing! even ctrl-break does not work!
   i tried to replace exit(1) with abort() and it
exited with no problem (but i can't use it! because it
outputs the stack contents and stuff!!)
  
   now what does exit(1) do to freeze the program??
   
   (Note: I have not hooked any interrupts!! the
program is runnin in 640*480*65k colors... in case
this helps!)

 Please help me! I am so desperate!!!

Thanx,
   Mohamed El Dawy

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

- Raw text -


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