The resource view does not reflect the changes made to the .RC file even if you have changed a resource script and Visual C++ compiler reloads it (173165)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual Studio 97
This article was previously published under Q173165 SYMPTOMS If you have altered a resource script outside of the
resource editor (for example, by hand or by using a version control system),
Developer Studio notices the change and asks you if you want to
reload.
If you answer yes, the reload seems to succeed and no error
message appears. However, the resource view does not reflect the changes made
to the .RC file outside of the resource editor, even if you reload it.
CAUSE The resource editor generates and uses a .APS file. This
file contains a binary format of the resources. This file is not recompiled
when the resource script is changed outside of Developer Studio. Only replacing
the .RC and RESOURCE.H resource files is not sufficient if you want the
resource view to reflect the changes made to the resources. RESOLUTION To work around this problem: - Make sure that the project is closed. Replace the .APS ,
.RC and RESOURCE.H files. -or-
- Make sure that the project is closed. Delete the .APS file
and replace both the .RC and RESOURCE.H files. In this case, the project
compiles a new .APS file that reflects the changes in the .RC file.
STATUS Microsoft is researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
135912
The latest modifications are not visible when you open resources in the Resource Editor
132340 Common file extensions used by Visual C++
Modification Type: | Major | Last Reviewed: | 6/2/2005 |
---|
Keywords: | kbtshoot kbprb KB173165 kbAudDeveloper |
---|
|