PRB: Writing to Resources May Change Last ErrorLast reviewed: September 29, 1995Article ID: Q137289 |
The information in this article applies to:
SYMPTOMSWhen writing to an application's resources, the value returned by GetLastError may change. This behavior occurs only in Windows 95, not Windows NT.
CAUSEWhen an application writes to its own resources, a page fault occurs, which is handled internally by the kernel. The handling of this page fault may change the value returned by GetLastError.
RESOLUTIONTo avoid this problem:
STATUSThis behavior is by design.
MORE INFORMATIONIt is legitimate for an API to change the last error even when it is successful.
|
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |