The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Can only run my program one time
Jerry


Joined: 14 Feb 2013
Posts: 6
Dev-C++ forum,

DevC++ 4.9.9.2

I created a couple of short practice programs a couple of months
ago and with help from this forum I got them working. Getting
back to them now I can load a project, click on a file and
compile and run it successfully. However after I run it the
compile, run, compile and run buttons are grayed out so I can't
run it again. If I close and re-start Dev-c++, again I can only
compile and run the program one time.

What am I doing wrong?

Jerry
Re: Can only run my program one time
ginkgobitter


Joined: 28 Jul 2011
Posts: 18
This sounds like your program does not exit properly (maybe hangs waiting for threads to finish or got stuck in an infinite loop). Check your system's running processes for your program and close it forcefully until you identified and fixed the issue.
Once it is terminated, the IDE should take notice that and re-enable the compilation and run buttons.