BUG: 16-bit Executable Resources Gets Corrupted
ID: Q177351
|
The information in this article applies to:
-
The Resource Editor, used with:
-
Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2, 5.0, 6.0
SYMPTOMS
When you open a executable resource of a 16-bit file that has been modified
and saved, the following error message displays:
<filename>
Cannot open resource
File is not in the correct format
RESOLUTION
Use the 16-bit Resource Editor, AppStudio, that shipped with Microsoft
Visual C++ version 1.52 to edit 16-bit executable and DLL files.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create two copies of a 16-bit executable resource such as the
Apstudio.exe file shipped in Microsoft Visual C version 1.52. Change the
file name of one of the copies of the file.
- Start Developer Studio and open both files in the Resource Editor.
- In one of the executable files, delete all the resources by completing
the following steps:
- Open a resource folder.
- Press Click+SHIFT to select the first and last items in that folder
which selects all items in the list.
- Press the Delete key to delete all the items.
- Repeat for the rest of the items in the folder.
- Copy the resources from the second file to the first file.
- Open one of the resource folders such as the Version folder. Note that
the resources are visible. Close the resource folder and save the file.
- Open the file again and click the Version folder. The error message
displays indicating a corrupt file.
Additional query words:
Keywords : kbResourceEd kbVC kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug kbGrpDSTools
Version : winnt:4.0,4.1,4.2,5.0,6.0
Platform : winnt
Issue type : kbbug