Connecting Tech Pros Worldwide Forums | Help | Site Map

Visual Studio Resource Editor Bugs

RLW
Guest
 
Posts: n/a
#1: Jul 19 '05
Help! I'm an undergraduate doing an MFC assignment using Visual
Studio 7 and the resource editor has suddenly starting doing strange
stuff. I created a number of new menu items, and the Resource.h file
now contains #define statements for them that just don't work, for
instance:

#define ID_EDIT_INCR 0
#define ID_EDIT_ADD 0

All new Menu IDs are given the value of 0 instead of 130 or whatever
they should be. Does some intelligent person out there know why this
is happening, how I can stop it from continuing, or how I can find out
what values they SHOULD be so I can manually change the values in the
Resource.h file? I can't ask my tutor because it's the weekend and I
can't continue work on my assignment until I get this fixed. I've
searched Google archives for hours and can't find anything of use.

Thanks in advance for any help that is offered.

Rowena.

John Carson
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Visual Studio Resource Editor Bugs


"RLW" <diva_ex_machina@yahoo.com.au> wrote in message
news:882340c9.0310111727.3f823b38@posting.google.c om[color=blue]
> Help! I'm an undergraduate doing an MFC assignment using Visual
> Studio 7 and the resource editor has suddenly starting doing strange
> stuff. I created a number of new menu items, and the Resource.h file
> now contains #define statements for them that just don't work, for
> instance:
>
> #define ID_EDIT_INCR 0
> #define ID_EDIT_ADD 0
>
> All new Menu IDs are given the value of 0 instead of 130 or whatever
> they should be. Does some intelligent person out there know why this
> is happening, how I can stop it from continuing, or how I can find out
> what values they SHOULD be so I can manually change the values in the
> Resource.h file? I can't ask my tutor because it's the weekend and I
> can't continue work on my assignment until I get this fixed. I've
> searched Google archives for hours and can't find anything of use.
>
> Thanks in advance for any help that is offered.
>
> Rowena.[/color]

This is off-topic. I suggest you post in

microsoft.public.vc.language or
microsoft.public.vc.mfc

(there are newgroups focussing specifically on the IDE or resource-editor
but there is not much activity on them).

For what it is worth, I would suggest deleting and re-creating your .rc file
and resource.h and, if that fails, doing the same for the entire project
(while preserving the non-resource source files of course). Apparently
something has become corrupted and I don't like your chances of fixing it by
any other means.


--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)

RLW
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Visual Studio Resource Editor Bugs


"John Carson" <donaldquixote@datafast.net.au> wrote:
[color=blue]
> This is off-topic. I suggest you post in
>
> microsoft.public.vc.language or
> microsoft.public.vc.mfc
>
> (there are newgroups focussing specifically on the IDE or resource-editor
> but there is not much activity on them).
>
> For what it is worth, I would suggest deleting and re-creating your .rc file
> and resource.h and, if that fails, doing the same for the entire project
> (while preserving the non-resource source files of course). Apparently
> something has become corrupted and I don't like your chances of fixing it by
> any other means.[/color]

Sorry for posting this off topic. I'm not accustomed to using
newsgroups for study-related purposes, and there are so many groups
around that I didn't know which one(s) to post to. Thanks for
pointing me in the right direction.

I'd already tried your suggestions above with no success. I even
re-installed Visual Studio but have the same error. There must be
something I've not done right. I have reposted to the relevent groups
and hopefully will receive some useful advice. Failing that, it's a
trip into uni to see the tutor tomorrow.

Thanks for your help, John.

Rowena.
Closed Thread