ID: Q114533
1.00 1.50 WINDOWS kbtool kbfixlist kbbuglist
The information in this article applies to:
After adding a new bitmap, icon, or cursor resource to a resource script file in App Studio and disabling the Discardable property, the new file containing the resource is not included in the dependency list for the current project. Additionally, there is no dependency for the file in the project makefile.
When a resource is initially created within App Studio, the Discardable, Moveable, and Pure properties are enabled by default while the Preload property is initially disabled. If the properties for the resource are returned to this state, the dependencies for the resource file are generated correctly.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 2.0.
To re-create this problem, use the following steps with an existing, working application generated by AppWizard:
1. Open the project in the Visual Workbench by choosing Open from the
Project menu.
2. Select the .MAK file, and then choose the OK button to load the
project.
3. Open App Studio by choosing App Studio from the Tools menu.
4. Create a new resource by choosing the New button.
5. Select Icon for the resource type, and then choose the OK button to
create the resource.
6. Close the icon by choosing the Close button from the System menu box.
7. View the properties for the resource by choosing the Properties
button.
8. Make a note of the new filename displayed in the Filename box. (It
will be something like ICON1.ICO.)
9. Disable or uncheck the Discardable and Moveable properties for the
resource so that only the Pure property is enabled/checked.
10.Save the resource file by choosing Save from the File menu.
11.Switch back to the Visual Workbench. Rescan dependencies for the
project by choosing Scan All Dependencies from the Project menu.
After completing the steps listed above, if the project .MAK file is
viewed as a text file, the new resource filename noted in step 8
above is not present in any of the dependency lists.
Additional reference words: 1.00 1.50 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: AppStudioIss
Keywords : kb16bitonly kbResourceEd kbVC kbVC100bug kbVC150bug kbVC200fix kbGrpDSTools kbbuglist kbfixlist
Version : 1.00 1.50
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix
Last Reviewed: October 2, 1998