Project Terminated With Status 1

Whenever I try to run a certain program I wrote, it returns with this error. After "Status 1" it says "(0 minutes, X seconds)", with X varying between 6 and 18 seconds. Any idea why it appears with this?
If it helps at all, it's the same program I had trouble with getting TransparentBlt() to work. You can view that "resolved" topic here:
http://cplusplus.com/forum/windows/42673/2/
Topic archived. No new replies allowed.