Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / February 2005

Tip: Looking for answers? Try searching our database.

Class View goes to declaration

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce E. Stemplewski - 18 Feb 2005 15:48 GMT
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.

Signature

Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com

Bruce E. Stemplewski - 20 Feb 2005 16:21 GMT
> 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
[quoted text clipped - 7 lines]
>
> 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;
}

Signature

Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.