PRB: Writing to Resources May Change Last ErrorID: Q137289
|
When writing to an application's resources, the value returned by GetLastError may change. This behavior occurs only in Windows 95, not Windows NT.
When 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.
To avoid this problem:
This behavior is by design.
It is legitimate for an API to change the last error even when it is successful.
Keywords : kbResource kbGrpUser kbWinOS95 kbWinOS98
Version :
Platform :
Issue type : kbprb
Last Reviewed: March 6, 1999