When you're compiling, are you leaving the source code folder open on the Desktop?
If you are, the compiler can't properly remove a temp file it is creating for the .exe. Check to see if it's closed and not minimized. (By clicking the X in the upper right corner.)
Try to compile & run your program. I had this exact issue. I began opening my projects from inside the Editor (DBPro IDE) and it saved me many headaches.
If this doesn't solve the problem, copy and paste your project text into a New Project and SAVE...Shut down the editor and reopen it, loading in the newly created project you built.
Hope that helps.
There's a thin line between Genius and Insanity.
Which side are you on? (Or is it more likely that you're balancing precariously on that line and struggling not to fall one way or the other?)