Blitzmax Permission denied !
BlitzMax Forums/BlitzMax Beginners Area/Blitzmax Permission denied !
| ||
When I run the program as it seem fine...but when I change the code then run the program again. It say Building INVADERS Linking:INVADERS.debug.exe C:/BlitzMax/bin/ld.exe: cannot open output file C:/Users/DMC/Desktop/INVADERS.debug.exe: Permission denied Build Error: Failed to link C:/Users/DMC/Desktop/INVADERS.debug.exe Process complete I think it is Invader.exe file on my desktop and I cant delete it....why is that? How do I stop from happening again!? |
| ||
It sounds like the program is still running. The old exe file is still in use, so you can't overwrite or delete it. Stop it from within the program itself or kill it with the task manager via ctrl-alt-del. |
| ||
IT hadnt happen to me like that before....but now...when I run the program then change the code then I have delete exe file then I can run program. It seem chore to be honest! |
| ||
Happens here, sometimes. Reboot sorts it. |
| ||
I just re-build and it works. If it keeps bothering you, you should just move your project folder |
| ||
The problem is that the peogram is still running. Download PSTOOLS from http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx. This includes the tools PSLIST and PSKILL. PSLIST will show you what processes are running, their internal names, and process ID's. PSKILL will let you kill leftover processes from your debug run. |
| ||
You can just use the Taskmanager and kill the open process, too. |