| Bruce E. Stemplewski 2005-02-20, 3:58 pm |
| Bruce E. Stemplewski wrote:
> Posted this in Microsoft.public.vsnet.ide but there does not seem to be
> a lot going on there.
>
>
> I am having a problem when I double click on a function within Class
> View, it goes to the declaration of the function as opposed to the
> definition. Some functions seem to work but others don't.
>
> I am working with a C++ project in VS .NET 2003.
>
> I have read most of the post relating to this problem but they seem to
> be for 2002. I have tried moving the text and turning off outlining as
> suggested by the posts.
>
> Is there anyway to fix this problem? It is very annoying.
>
>
In case anyone is actually reading this newsgroup, I figured out the
problem.
Seems the parser has a problem with the namespace block
namespace MyNameSpace{
int MyClass1::MyFunction(MyClass2* pC)
{
return 0;
}
}
You have to do this:
int MyNameSpace::MyClass1::MyFunction(MyName
Space::MyClass2* pC)
{
return 0;
}
in fact it even has a problem if the namespace block is defined anywhere.
namespace MyNameSpace
{
AnotherClass c;
}
int MyNameSpace::MyClass1::MyFunction(MyName
Space::MyClass2* pC)
{
return 0;
}
--
Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com
|