It is currently Thu Dec 05, 2019 11:58 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Win 10; PB will not overwrite exe
PostPosted: Tue Oct 15, 2019 9:53 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1568
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Win 10; PB will not overwrite exe
PostPosted: Tue Oct 15, 2019 10:10 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3715
Location: Berlin, Germany
Try compiling with your anti-virus software disabled.
Do you encounter the same issue then?

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Win 10; PB will not overwrite exe
PostPosted: Tue Oct 15, 2019 10:37 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1568
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Win 10; PB will not overwrite exe
PostPosted: Tue Oct 15, 2019 10:42 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3143
Location: Boston, MA
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.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: Win 10; PB will not overwrite exe
PostPosted: Wed Oct 16, 2019 4:44 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3715
Location: Berlin, Germany
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.

Yes. I assumed that these things were out of the question. :-)

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Win 10; PB will not overwrite exe
PostPosted: Wed Oct 16, 2019 5:48 am 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1568
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye