Главная страница | назад

Article #16948: Disapearing .res files

 Question and Answer Database

FAQ1948C.txt   Disapearing .res files
Category   :IDE
Platform    :All
Product    :C++Builder  1.x

Somehow my CBuilder project refuses to let me set an icon for
the application.

This is caused when the projects .res file is deleted.  This can
cause the USERES(" ... "); line in the project source file to be
erased, which in turn, causes the Resource dependencies line to 
be blank in the MAK file.

Add the USERES line back into the source file after the USEFORM
line with the name of the resource file you wish to use, and load
an icon using OPTIONS | PROJECT | Application | Load Icon ...

You may have to edit the MAK file and create a res file in the 
image editor to get this to work.

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99