my .exe doesnt work

when I run my program in the compiler it works without a problem but when I try to run the .exe file it just goes into "not responding" and then stops altogether. The compiler I use is visual studio express 2012 for windows desktop

I know that some of it runs because it outputs a variable at the beginning of the main function

I think it is because of allegro but I don't know for sure

I've looked it up but the problems described on the forums weren't my problem

video example : http://youtu.be/RopF3trz7-o

link to code : https://drive.google.com/file/d/0Bw4KkOEaUQOpVDFDcXlpeU9LZE0/view?usp=sharing

[not sure which part I should post]

code too long to include

[/code]
I wasn't sure which section to post it in, sorry
"not responding" is Windows's way of telling you that your application's event loop is not being read.

What that means is that something somewhere in your application is locked -- either in an infinite loop or because it is waiting on a resource that is (for one reason or another) not signalling.

Either use a debugger to step through your process and see where it hangs, or add a bunch of cout << foo << endl throughout your main and see where it stops, then work your way in to more and more specific locations until you can pinpoint exactly what code is causing the problem.
Topic archived. No new replies allowed.