Many times in VC++ 6.0, I will try to go to a definition, and it pops
up a MessageBox saying:

---------------------------
Microsoft Visual C++
---------------------------
The symbol 'MyFunction' is undefined.
---------------------------
OK
---------------------------


Anyone know how to fix this?

Re: go to a definition by David

David
Sat Dec 08 17:14:17 PST 2007

>Many times in VC++ 6.0, I will try to go to a definition, and it pops
>up a MessageBox saying:
>
>The symbol 'MyFunction' is undefined.
>
>Anyone know how to fix this?

Ensure that the header & source files containing that symbol are
included in the list of files in the project.

If that's not the issue, try closing the workspace and deleting the
.ncb file. It'll get recreated when you re-open the workspace. That
often fixes such issues.

Dave

Re: go to a definition by Tom

Tom
Sat Dec 08 21:18:54 PST 2007

I often wonder why the IDE doesn't just erase this file periodically anyway
since it has to be done so often... I know that might make it a little
slower starting the IDE, but it would save a ton of people from spending a
lot of time wondering why Intellisense isn't working.

Tom

"David Lowndes" <DavidL@example.invalid> wrote in message
news:l7gml3dqf5op7q3qnn4d9tf09duu2n5bfj@4ax.com...

> If that's not the issue, try closing the workspace and deleting the
> .ncb file. It'll get recreated when you re-open the workspace. That
> often fixes such issues.


Re: go to a definition by Alex

Alex
Sun Dec 09 01:43:23 PST 2007

<bob@coolgroups.com> wrote:
> Many times in VC++ 6.0, I will try to go to a definition,
> and it pops
> up a MessageBox saying:
>
> ---------------------------
> Microsoft Visual C++
> ---------------------------
> The symbol 'MyFunction' is undefined.
> ---------------------------
> OK
> ---------------------------
>
>
> Anyone know how to fix this?


Yes. Install VisualAssist or upgrade VC++. VC++6.0 has
notoriously fragile and weak intellisence mechanism (in
comparison to modern ones).

Alex