Guguck @

I have opened a file with the alway-atribute. - But the drawback is, that i cant copy it, while it is oppen.
Is there an option, that I can open the file permanent and also copy it ?

Bye !
Posted on 2003-04-30 09:27:14 by Forginforcer
No!! You cannot copy a file while there is a current file handle referencing it. Your options would be:

- copy it to a temp location, then open and use the temp copy for your work
- read the entire file into memory, then release the file handle so it can be copied
- copy it before you open it, or after you finish working with it

that's just the way things work in the Windows world ;)
Posted on 2003-04-30 09:51:18 by sluggy
file sharing modes... FILE_SHARE_READ...
Posted on 2003-04-30 10:05:57 by f0dder
Thanks !
That was just wat i seeked.

Bye !
Posted on 2003-04-30 10:06:58 by Forginforcer