The information in this article applies to:
NOTE: Some products mentioned in this article are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability. SYMPTOMS
When the network client is the real-mode Netware NETX redirector for
Netware 3.11, MoveFile() fails to rename files and directories when the
source and destination names are specified in Universal Naming Convention
(UNC) format. The return value of MoveFile() is FALSE, but GetLastError()
reports an error code of NO_ERROR (0).
This problem does not occur with the NETX for Netware 3.12 and later or with protected-mode Netware clients. CAUSE
NETX for Netware 3.11 does not support renaming files and directories
using UNC names. RESOLUTION
There are several possible workarounds for this problem:
STATUSThis behavior is by design. MORE INFORMATIONAlthough the bug occurs specifically when MoveFile() is used, some runtime library functions call MoveFile(), and thus exhibit the same behavior. The most notable is the C runtime library's rename() function. For information about how your particular compiler's runtime library implements rename(), refer to the documentation provided with your compiler.
Keywords : kb3rdparty kbnetwork kbAPI kbSDKPlatform kbWinOS95 kbWNet kbGrpNet |
Last Reviewed: March 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |