Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Linker error:Duplicate resource

rjar
Beginner
733 Views
Hi,
I am trying to insert a new dialog box into my application and I get the following error:

CVTRES : fatal error CVT1100: duplicate resource -- type:DIALOG, name:128, language:0x0409
.Debugsingle_w.res : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Error executing link.exe.


I have not used the resource anywhere else in my program.
It's a new dialog box.Can the problem be because I have many other dialog boxes already in my application.If so is there a restiction on the number of resources I cancreate in my application.
I would appreciate any help.Thanks,
Archana.

0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
733 Views
No, there's no restriction in number of resources.

The error seems to be that there are two dialogs with ID 128 (IDs are possibly different). You can edit resource.h file to examine and fix the problem. If there are no two such dialogs, take a look at .rc file opened as text.
0 Kudos
Reply