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

  • 질문

  • 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.
    2009년 9월 9일 수요일 오전 10:12

답변

모든 응답

  • 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.
    • 답변으로 표시됨 Nancy Shao 2009년 9월 17일 목요일 오전 1:49
    2009년 9월 9일 수요일 오전 11:36
  • 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.
    • 답변으로 표시됨 Nancy Shao 2009년 9월 17일 목요일 오전 1:49
    2009년 9월 11일 금요일 오전 2:36
  • 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


    • 편집됨 RD Holland 2020년 6월 19일 금요일 오후 9:55
    2020년 6월 19일 금요일 오후 8:49