Tried that, and it did not work.
RML
> > Hi Marcus, I tried your suggestion, but still have the same problem.
> >
[quoted text clipped - 28 lines]
>
> Next attempt: Close the poject, delete the .ncb file and reopen the project.
> Tried that, and it did not work.
>
> RML
In this case, it seems to be somehow realted to your file itself. To find
the source, I would comment out the whole body of the class and see if it is
possilbe to add a new function to the empty class. If yes, uncomment more
and more parts until the problem reappears.
If you have found the reason, please share it here.
I don't see anything better to do here, sorry
Marcus
RML - 01 Jun 2006 21:07 GMT
Here is what I did to get it to work.
I created a new class. I cut & pasted the code from the original classes .h
& .cpp files into the respective .h & .cpp files of the new class. In the
new class files, I then replace the old class name with the new, then I
deleted the original class files.
It was a round about way, but it worked.
RML
> > Tried that, and it did not work.
> >
[quoted text clipped - 9 lines]
>
> Marcus
Gary Edstrom - 26 Jul 2006 19:58 GMT
Here is what worked for me after wasting a half a day on the problem:
1. Close the workspace
2. Delete the Intellisense (NCB) Database
3. Reopen the workspace
4. Allow VC to rebuild the Intellisense database
Now the add method / property worked just fine.
Gary Edstrom
>Here is what I did to get it to work.
>
[quoted text clipped - 20 lines]
>>
>> Marcus