Weird access to an exe compiled with windows.h
I discovered a really odd happening. I'm using devc++ 188.8.131.52.
I have a piece of code with an infinite loop (stopped by ctrl+c), that compiles ok. I can make a change, and recompile it, works ok. If I add windows.h whenver I stop the program, modify it and try to recompile it, access to that file is denied. I can't delete it, or run it after this point.
It's really really annoying since I have to click a few extra times to rename the output file before each compile.
Any ideas why this is happening?