Re: RC2182: duplicate dialog control ID 65534

From: Scott McPhillips [MVP] (org-dot-mvps-at-scottmcp)
Date: 08/13/04


Date: Fri, 13 Aug 2004 07:03:09 -0500

TVR Fan wrote:

> Apologies for cross-posting but this has got no response in vc.ide.general
> so maybe its more on topic in here.
>
> I keep getting the above warning whenever I open my .rc file (on line 1953)
>
> That line appears to be setting the caption for a dialog so I don't think
> that can be right. The number 65534 is not in the .RC file. However, it does
> appear once in the resource.h file, defining a label that is not used in the
> dialog defined at line 1953 in the .RC file.
>
> The project seems to run with no problems.
>
> This occurs with both MSVC++6 and MSVC++7.1 (.NET)
>
> So what does this warning mean and how do I get rid of it?
>
> --- Al.
>
>
>

The resource.h file uses #define to declare a symbolic name for the ID.
  Then the file is #include'd in the rc file, which uses the symbolic
name, not the numeric value. Two things you can try: Search the rc file
for the symbolic name. Edit the resource.h file to change the value.

-- 
Scott McPhillips [VC++ MVP]


Relevant Pages

  • Re: How to separate resources in a team?
    ... > The problem arise when someone edits some dialog in a resource file ... file and ids file once this is done you wont have a problem. ... CAPTION "Edit Item" ... CAPTION "Edit Menu Types" ...
    (microsoft.public.vc.mfc)
  • Re: Need help with xpath and xml
    ... In the edititemtemplate i have a textbox for the caption ... node and edit the caption. ... DataKeyField to PhotoID but i was not able to edit the Caption node using ... caption if the ID was an attribute of the Photo element. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Need help with xpath and xml
    ... DynamicContext ctx = new DynamicContext; ... I have a photo gallery that works by looping thru the images, ... In the edititemtemplate i have a textbox for the caption ... node and edit the caption. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Help - XP Taskbar Grouping Causes Blank App Name
    ... Edit AssemblyInfo.vb in VB or AssemblyInfo.cs in C# ... gives you the caption ... Mick Doherty ... "Chambonneau" wrote in message ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: How to Change the Caption of a Command button
    ... > when i click on Edit button then the corresponding text box gets populated ... > frm a treeView and changes the Caption of the Respective button to Save. ...
    (comp.lang.basic.visual.misc)