Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: bala_48225 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
-
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; } :)
-
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.
-
I found this (http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/93b658c7-7235-4818-b0e7-23eaf406d089) 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).