Article ID: 139030
Article Last Modified on 7/1/2004
APPLIES TO
- The Resource Editor, when used with:
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q139030
SUMMARY
Windows NT and Windows 2000 provide APIs that allow you to modify resources in an
executable or DLL. When the resource is opened, Developer Studio checks to
ensure that it can write to the file. If not, you will be warned.
Windows 95, Windows 98, and Windows Millennium Edition (Me) do not support the APIs necessary to do this. When the
resource is loaded, the following warning appears:
Microsoft Developer Studio cannot save the modified resources back to
this executable. The executable may be in use, or this version of
Windows may not support updating resources in executables.
In Visual C++, version 4.0, the executable can not be modified. Beginning
with Visual C++, version 5.0, the resources within the executable can be
modified and saved. To modify resources within Visual C++, version 5.0 or
later, use the following steps:
- On the File menu, click Open.
- Locate an executable or Dll containing resources.
- In the Open dialog, select Resources in the Open As list.
- Click OK.
- The resources for the selected binary file should appear.
At this point, the resources can be modified as they would from the
ResourceView in a Visual C++ project. Saving the binary file makes those
changes permanent.
Keywords: kbhowto KB139030