Hello, I have been having this problem for a while but I think i have pinpointed what is wrong, i can't fix it though.
When trying to create a project, such as a "Hello World!" application , the first time running it the process works as intended.
After modifying it, for example to display ,,"Hello World! JUFHDUSF" i can no longer compile, as I am getting the error ld.exe||cannot open output file bin\Debug\bunaziualume.exe Permission denied|
||=== Build finished: 1 errors, 0 warnings ===|
Going to the folder that the program is in, i notice it is Read-Only grayed out. If I try to modify this value very soon after I run the program it says I don't have permission to change it.
If I wait a while, it allows me to change the value but continues being grayed out after I do so if I click on the folder again.
I would also like to mention that after a while (10-15 minutes) if I try to run the modified program it works for some reason.
I really need help with this ,thank you!
This is not a codeblocks issue - if you compile the code from the command line you will get the same problems. In my experience, it's an issue with your anti-virus and/or firewall software. Shutting them both down, rebooting and then restarting them will normally fix it. But as I said this is NOT a CB issue.
I don't have an anti-virus and have disabled my firewall and rebooted my PC, it still doesn't work.
For some reason the file is read-only for about 3 minutes or so until it suddenly changes or i donno.
Quote from: obidan on April 14, 2012, 07:21:21 PM
I don't have an anti-virus and have disabled my firewall and rebooted my PC, it still doesn't work.
For some reason the file is read-only for about 3 minutes or so until it suddenly changes or i donno.
Unlikely, it is more likely your exe is still running for a few minutes.
Tim S.
And what would I be able to do in this case?
I run a Windows 7 64 Bit PC
http://support.microsoft.com/kb/323527 (http://support.microsoft.com/kb/323527)
"Exit a program" should result in the program being killed.
Tim S.
The exe isn't running in Task Manager and I used ProcessExplorer to see that it is used by the C++ debugger. Can't close it for some reason , even inside that.( Error opening process: The handle is invalid)