Page 1 of 1

File (*.exe) stays locked

Posted: 4. May 2009, 16:31
by artelogic
I am using Delphi (development environment) on Win7.x64 host in WinXP.x86 guest. When I compile a programm to a shared folder and run that program within Delphi, the newly created EXE stays locked after exiting it. So I can't compile it again nor can I delete it from within the guest (Cannot delete abc.exe: It is being used by another person or program) nor from the host (file in use by VirtualBox.exe).
Is there a hack, am I doing anything wrong or is it just a bug?

In the log I found those:

Code: Select all

...
01:10:26.405 SharedFolders host service: request to map folder VM-Xchg
01:10:26.405 SharedFolders host service: map operation result VINF_SUCCESS.
01:10:26.405     Mapped to handle 1.
01:10:32.188 SharedFolders host service: request to unmap folder handle 1
01:10:32.188 SharedFolders host service: unmap operation result VINF_SUCCESS.
01:10:34.319 SharedFolders host service: request to map folder VM-Xchg
01:10:34.319 SharedFolders host service: map operation result VINF_SUCCESS.
01:10:34.319     Mapped to handle 1.
01:10:41.893 SharedFolders host service: request to unmap folder handle 1
01:10:41.893 SharedFolders host service: unmap operation result VINF_SUCCESS.

Re: File (*.exe) stays locked

Posted: 4. May 2009, 19:22
by vbox4me2
I'd say its a bug, but then again shared folders are be far not what its suppose to be, a reguliar network share will work as it should.