G
Guest
I'm writing a WinForms app that copies files to Pocket PC using the RAPI
'CopyFileToDevice' method. If there are no interruptions then everything
works perfectly.
But in testing, I've deliberately disconnected the Pocket PC to see what
happens.
Upon reconnection I get an error that the source file is being used by
another process - in other words, the file is locked.
Since I know the previous process has concluded, is there a way for me to
forcibly unlock the file?
'CopyFileToDevice' method. If there are no interruptions then everything
works perfectly.
But in testing, I've deliberately disconnected the Pocket PC to see what
happens.
Upon reconnection I get an error that the source file is being used by
another process - in other words, the file is locked.
Since I know the previous process has concluded, is there a way for me to
forcibly unlock the file?