G
Guest
I have a VS.NET 2003 Visual C++ MFC Application Project in which I added a
new resource file, I then added an icon to this new resource file and did a
rebuild and got the following error: "fatal error CVT1100: duplicate
resource. type:ICON, name:1, language:0x0409". But the resource ID is unique
and only located in the new Resource1.h and
MyResourceFile.rc files. Any ideas why this error is occuring?
To generate the issue real quick, you can do the following:
1) Create a test Visual C++ MFC Application Project with the default
configuration settings.
2) On the main menu, go to Project\Add New Item, then select Resource File
(.rc), name it something like MyResourceFile.
3) A file named Resource1.h is automatically created as the associated
header to MyResourceFile.rc, open this file and change
_APS_NEXT_RESOURCE_VALUE 101 value to 1001 to make any new resource ID's
unique.
3) In the Resource View, add an icon resource to MyResourceFile and just
save the blank icon.
4) Now rebuild the project and BOOM.
Thanks for any input,
Danny Pressley
new resource file, I then added an icon to this new resource file and did a
rebuild and got the following error: "fatal error CVT1100: duplicate
resource. type:ICON, name:1, language:0x0409". But the resource ID is unique
and only located in the new Resource1.h and
MyResourceFile.rc files. Any ideas why this error is occuring?
To generate the issue real quick, you can do the following:
1) Create a test Visual C++ MFC Application Project with the default
configuration settings.
2) On the main menu, go to Project\Add New Item, then select Resource File
(.rc), name it something like MyResourceFile.
3) A file named Resource1.h is automatically created as the associated
header to MyResourceFile.rc, open this file and change
_APS_NEXT_RESOURCE_VALUE 101 value to 1001 to make any new resource ID's
unique.
3) In the Resource View, add an icon resource to MyResourceFile and just
save the blank icon.
4) Now rebuild the project and BOOM.
Thanks for any input,
Danny Pressley