Author Topic: What does it mean after console runner stops? "-1073741510"  (Read 3897 times)

Offline bala_48225

  • Multiple posting newcomer
  • *
  • Posts: 17
What does it mean after console runner stops? "-1073741510"
« on: September 19, 2010, 06:18:07 pm »
I am: winXP SP3, Codeblocks, MingW32.

"Process terminated with status -1073741510 (x minutes, x seconds)"
(after ending C::B console runner)

Idk whether it's CodeBlocks or the compiler, but it sure happens!  From what I noticed, it only happens when I click the upper-right red X, but not when I press a key.  I'm starting to not worry about it, because I'm starting to remember it's been happening forever, but I'm curious and just wondering if it's not a good thing and if so, if there's something I can do about it.  BTW when I press a key instead of clicking out, it returns 0.  Thx in advance for any time and/or insight. -B

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: What does it mean after console runner stops? "-1073741510"
« Reply #1 on: September 19, 2010, 09:15:12 pm »
1. Search the forum :)
2. Read some c/c++ tutorial, where they explain what the "int main()" function does and returns:)
3. Change your int main(...) { return 0; } to int main(...) { return 1; } :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline bala_48225

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: What does it mean after console runner stops? "-1073741510"
« Reply #2 on: September 20, 2010, 05:57:52 pm »
I think I didn't make it clear, this is after the console runner itself returned 0, and this message is in the CodeBlocks IDE "logs & others" area at the bottom of the IDE, and then again only after I exit the console runner with a left click on the upper right exit button, but not when I press a key to return to Code Blocks.  Check yours to see if it does the same thing (just a thought).  I'm starting to think it's a Code Blocks or Windows thing, because my project is definitely returning 0, with no error msgs.  
« Last Edit: September 20, 2010, 06:00:16 pm by bala_48225 »

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: What does it mean after console runner stops? "-1073741510"
« Reply #3 on: September 20, 2010, 06:21:27 pm »
I found this looking for that number. I think (I am not sure) console_runner calls pause. It may be caused by "killing" the console when that command is in execution through a system() call (just what happens when you click the close button).