-
can not add member error
I think I goofed when closing a work in progress, now my app seems to have locked my different classes and will not allow me to add members to it.
When I look in class view I have the key next to my different classes and every time I try to edit the code for a button or some object in the window, I get prompted with an error stating
"can not add new member"
I can compile fine with no errors, I simply can not make changes to my classes.
Can anyone point me to my mistake and how I might reverse it?
Yours truly
Village Idiot
-
Are any source files read-only?
gg
-
Sorry for the late response, when I run a properties on the source files, the read only is not selected, so I assume they are valid, but I think I see your point, it would make sense that the source files are where I am adding the code for the new members.
Is there another way to review this, that I might be missing?
-
This is for VC6 (same idea for VC7, but that uses different files)
There are a number of generated files which the IDE uses for things like intellisense which may have become corrupted (eg project.ncb, project.opt)
The important files are
- all your source and header files
- project.dsp and project.dsw
So, without VC6 running at all,
1. Make a backup of your entire project "as is", just in case
2. delete anything which isn't precious like the "Debug" and "Release" build directories and the above mentioned IDE generated files.
The IDE will recreate all it needs the next time you start VC6 and do a build.
Don't forget the backup before you start deleting files.
-
Cool, I'll give it a shot, thanks Salem, thanks CodePlug