Le 17 mai 06 à 03:05 Matin, Norman Palardy a écrit:

What is lastError = 32 on Windows for a folderitem ?

I have code like

        source.MoveFileTo dest

source does exist
dest does not

but the moveFileTo gives me this error

This error means:
ERROR_SHARING_VIOLATION
32
The process cannot access the file because it is being used by another process.

Remember that, on win32, a file in use can't even be moved! (weird is this OS).

I think the problem is that a file, on Win32, is only found by its path (you don't have, obviously, a MacDirID and MacVRef num, and no equivalent). Therefore, an application which opens a file would have troubles to find the file again if it could be moved. That's my explanation, but I know about Win32 like 2+2=5.

You can find more errors explanation here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ debug/base/system_error_codes.asp_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to