So I finally started using PB on my Surface with W10 on it. (Was only using PB on w7 before this.) It will compile the files fine the first time, but then the exe stays in the directory, and the compiler refuses to delete or overwrite the exe. I get no errors, but only the "first compile" is executed, until I either exit PB and restart it, or I manually delete the file. That made debugging interesting.
I moved the source into a directory off of the c root, but that did not help. I moved it to a My Docs folder, and that did not help either.
Help? How can I avoid the requirement to manually delete the old EXE every time?
Thanks!
Win 10; PB will not overwrite exe
-
- Addict
- Posts: 4519
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Win 10; PB will not overwrite exe
Try compiling with your anti-virus software disabled.
Do you encounter the same issue then?
Do you encounter the same issue then?
Re: Win 10; PB will not overwrite exe
I tried, and it did not.
I'm using Windows Security, which I've never used before. I followed googled instructions; turning off real-time protections.
I'm using Windows Security, which I've never used before. I followed googled instructions; turning off real-time protections.
Re: Win 10; PB will not overwrite exe
I run Windows 10 Pro x64( but not on a Surface).
I get similar errors when:
a) I left an old version of the exe running.
b) A version of the exe crashed, but is still holding memory somewhere.
c) The IDE did not completely release a debugged version of the exe.
My antivirus experience produces different errors.
a) Not allowed to compile.
b) Ok to compile but not allowed to write to the user directory.
Whitelist the exe's in the PB install folder.
Add a whitelist 'c:\dev\' path for your development code.
I get similar errors when:
a) I left an old version of the exe running.
b) A version of the exe crashed, but is still holding memory somewhere.
c) The IDE did not completely release a debugged version of the exe.
My antivirus experience produces different errors.
a) Not allowed to compile.
b) Ok to compile but not allowed to write to the user directory.
Whitelist the exe's in the PB install folder.
Add a whitelist 'c:\dev\' path for your development code.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
- Addict
- Posts: 4519
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Win 10; PB will not overwrite exe
Yes. I assumed that these things were out of the question.skywalk wrote:I get similar errors when:
a) I left an old version of the exe running.
b) A version of the exe crashed, but is still holding memory somewhere.
c) The IDE did not completely release a debugged version of the exe.
Re: Win 10; PB will not overwrite exe
I'm getting it with a short "debug 1" file.
Not so familiar with MS security, turning off real time protection seemed to do nothing. Could not find a white list anywhere. I'm just deleting the exe file for now, I'll see if I can track it down another day.
Not so familiar with MS security, turning off real time protection seemed to do nothing. Could not find a white list anywhere. I'm just deleting the exe file for now, I'll see if I can track it down another day.