BUG: WritePrivateProfileString Requires Delete Access on INILast reviewed: October 13, 1997Article ID: Q175033 |
The information in this article applies to:
SYMPTOMSWritePrivateProfileString() fails to update the target INI file when the user's permissions on the file do not include "Delete" access. GetLastError() returns ACCESS_DENIED.
CAUSEWritePrivateProfileString() invariably requests "Delete" access when attempting to open the INI file.
RESOLUTIONThere are no workarounds short of taking direct control of the file I/O.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : UsrMisc Version : WINNT:4.0 Platform : winnt Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |