locked
CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 RRS feed

  • Question

  • Hi all VC++ programmers, I am the following linking error when iam migrating my code from vs-2003 to vs-2008.i.e.

    CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409

    but i dont have an id for this dialog in my .rc file,even though it is saying duplicate resource...i dont know why?,,, if i define an id to this dialog i am getting more and more errors...can anybody help in this regard. thanks in advance.
    Wednesday, September 9, 2009 10:12 AM

Answers

All replies

  • Dialogs have to have an ID.  The error message tells you what it is: "PRINTSTATUS".  You should be able to search for it in your .rc file.

    Hans Passant.
    • Marked as answer by Nancy Shao Thursday, September 17, 2009 1:49 AM
    Wednesday, September 9, 2009 11:36 AM
  • Hi Raju,

    Have you tried to open .rc file with Notepad, and comment the line which define duplicate DIALOG with name PRINTSTATUS ?

    Please check this thread, maybe it will give some hint:

    http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/ca805bad-9893-483b-8482-6e6ccaa0a4f8

    Best Regards,
    Nancy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by Nancy Shao Thursday, September 17, 2009 1:49 AM
    Friday, September 11, 2009 2:36 AM
  • I have updated to VS 2019. After adding a dialog to my project and building the resource file, I ran add class. Then I built with no issue. Then I added another dialog. This time I double-clicked the dialog to add the class. That's all she wrote. I got this error. I opened the .h file the res editor had modified and both new dialogs had the same ID.

    I undid everything and will try again. Looks like VS 2019 has some bugs.

    And it is doing it again. Build fine, add a dialog and I get the error. There are no other dialogs with that ID, but there is a string (IDS_xxx_xxx) that uses that ID. Nothing else uses the same value.


    R.D. Holland


    • Edited by RD Holland Friday, June 19, 2020 9:55 PM
    Friday, June 19, 2020 8:49 PM