Re: RC2182: duplicate dialog control ID 65534
From: Scott McPhillips [MVP] (org-dot-mvps-at-scottmcp)
Date: 08/13/04
- Next message: TomekG: "Re: char array and pointer?"
- Previous message: Scott McPhillips [MVP]: "Re: char array and pointer?"
- In reply to: TVR Fan: "RC2182: duplicate dialog control ID 65534"
- Next in thread: TVR Fan: "Re: RC2182: duplicate dialog control ID 65534"
- Reply: TVR Fan: "Re: RC2182: duplicate dialog control ID 65534"
- Messages sorted by: [ date ] [ thread ]
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]
- Next message: TomekG: "Re: char array and pointer?"
- Previous message: Scott McPhillips [MVP]: "Re: char array and pointer?"
- In reply to: TVR Fan: "RC2182: duplicate dialog control ID 65534"
- Next in thread: TVR Fan: "Re: RC2182: duplicate dialog control ID 65534"
- Reply: TVR Fan: "Re: RC2182: duplicate dialog control ID 65534"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|