The information in this article applies to:
SYMPTOMS
If you call the CreateFile API with the OPEN_ALWAYS flag when the specified
file already exists, the API should return a valid handle and GetLastError
should return ERROR_ALREADY_EXISTS.
RESOLUTION
Break up the CreateFile call with the OPEN_ALWAYS flag into two separate
calls to CreateFile.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThis error only occurs if the file is being accessed using either a UNC path name or through a mapped drive and the file is located on a Windows NT Server. Additional query words:
Keywords : kbFileIO kbKernBase kbNTOS400 kbSDKPlatform kbDSupport kbGrpKernBase |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |