Locked folder of code by PB

Everything else that doesn't fall into one of the other PB categories.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Locked folder of code by PB

Post by Kwai chang caine »

Hello at all

I don't know if for you it's the same thing, but since several years i have the same strange behavior :

When i run a code in the PB IDE, the "PureBasic_Compilation0.exe" appears in my folder code beside my PB code (Normal 8) )
And when i close it the "PureBasic_Compilation0.exe" disappears (Normal too 8) )

But now...it's impossible to rename the folder code :shock:
The only one way, is close and reopen PB IDE and after i can rename the folder fo code :oops:

Someone have the same behavior or know how ?

Have a good day
ImageThe happiness is a road...
Not a destination
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Locked folder of code by PB

Post by infratec »

Yes, I can confirm this.

I already reported this, but without result.
User avatar
spikey
Enthusiast
Enthusiast
Posts: 581
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: Locked folder of code by PB

Post by spikey »

Yes, I can confirm too. Closing all open files doesn't solve the problem so I'm guessing that there is a separate handle to the folder itself somewhere which doesn't get closed until the IDE is closed.

But having said that - I can't find one...

Oh yes I can...
When you double click a file in explorer and the IDE isn't already open, a handle is opened to the containing folder which isn't closed when the file is closed. It doesn't happen when a file is opened via the open dialog, recent files or if the IDE is already open. Does this fit with your observed behaviours?
fryquez
Enthusiast
Enthusiast
Posts: 362
Joined: Mon Dec 21, 2015 8:12 pm

Re: Locked folder of code by PB

Post by fryquez »

Saw this, too. Pbcompiler.exe has an handle to project folder.

Using Compiler --> Restart Compiler solves it here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Locked folder of code by PB

Post by Kwai chang caine »

Thanks at you three for your advice, I feel less alone now 8)

It's true it's annoying like behavior :|
But if INFRATEC have already signaled the problem, i suppose there are nothing to do :|
Sipkey wrote:When you double click a file in explorer and the IDE isn't already open, a handle is opened to the containing folder which isn't closed when the file is closed. It doesn't happen when a file is opened via the open dialog, recent files or if the IDE is already open. Does this fit with your observed behaviours?
I can't say, because i always open PB source with drag/drop or in the recent file in the IDE menu :wink:
Fryquez wrote:Using Compiler --> Restart Compiler solves it here.
Thanks for the tips :wink:
It's not the "america"..but it's already a half solution i don't know for fix the problem 8)
ImageThe happiness is a road...
Not a destination
Post Reply