Visual Studio Resource Editor Bugs

R

RLW

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.
 
J

John Carson

RLW said:
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.

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.
 
R

RLW

John Carson said:
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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top