BUG: Deleting Resources - Previous IDs Orphaned in Resource.h (199039)
The information in this article applies to:
- Microsoft Visual Studio, Enterprise Edition 6.0
- Microsoft Visual Studio 97
This article was previously published under Q199039 SYMPTOMS
When a resource is deleted, the resource ID remains in the Resource.h file. This could cause problems, such as duplicate IDs or a deleted resource that is displayed at runtime using the old ID. The compiler does not flag the unassigned resource IDs.
RESOLUTION
Open the resource header files, and delete the ID definitions for all resources that have been deleted from the resource script. Also, verify that your code is not referencing these deleted IDs.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 8/11/2005 |
---|
Keywords: | kbbug kbide KB199039 |
---|
|