Re: View goes to declaration
From: Bruce E. Stemplewski (BruceStemplewski_at_hotmail.com)
Date: 02/20/05
- Next message: OTowery: "Project created using Access db now using SQL"
- Previous message: John Halet: "Dataset Table Loosing Columns"
- In reply to: Bruce E. Stemplewski : "View goes to declaration"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Feb 2005 11:23:27 -0500
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(MyNameSpace::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(MyNameSpace::MyClass2* pC)
{
return 0;
}
-- Bruce E. Stemplewski GarXface OCX and C++ Class Library for the Garmin GPS www.stempsoft.com
- Next message: OTowery: "Project created using Access db now using SQL"
- Previous message: John Halet: "Dataset Table Loosing Columns"
- In reply to: Bruce E. Stemplewski : "View goes to declaration"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|