Linker error:Duplicate resource

Linker error:Duplicate resource

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,

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Jugoslav Dujic

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.


Accedere per lasciare un commento.