-
October 16th, 2009, 11:41 PM
#1
Permission Denied in Windows Vista...
Hello, I'm fairly new to C++ and I finally have been able to get some programs going and they are working fine!
However, Im using the Eclipse IDE and MinGW..
When I go to build the program sometimes it will not let me saying that permission is denied and it cant save over the existing .exe program file.. So I try to delete it and just rebuild a new program and I cant delete it.
This usually only happens if I have actually ran the program outside of the IDE, but it happens without running it as well.
Any ideas as to how I can get around that?
-
October 17th, 2009, 12:04 AM
#2
Re: Permission Denied in Windows Vista...
I have found the error. It was that for some reason my program was still running. I went to processes in the Task Manager
and found my file MathTest1.exe was still running
Is there some code to add to my file to make sure that the executable completely stops at return 0?
-
October 19th, 2009, 10:14 AM
#3
Re: Permission Denied in Windows Vista...
Originally Posted by Technerd_Shawn
I have found the error. It was that for some reason my program was still running. I went to processes in the Task Manager
and found my file MathTest1.exe was still running
Is there some code to add to my file to make sure that the executable completely stops at return 0?
No. The fact that it was 'Still Running' in the background implies that it has either crashed, or gotten into an infinite looping state. If it terminated properly, it would not still be 'running in the background'.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|