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 / Languages / Managed C++ / July 2005

Tip: Looking for answers? Try searching our database.

No ClassView for MFC projects?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
charles_weaver@post.harvard.edu - 17 Jul 2005 05:51 GMT
I am in the process of upgrading a number of VC++ 6 projects to VC++
.Net. I have noticed that for MFC projects the Class View information
is not available. Is this something I am doing wrong or is it by
design? The non-MFC projects have Class View information as they
should.

A related issue is that in the MFC projects I also don't seem to be
able to
go to the definitions of functions by clickng on Goto Definition even
though the Generate Browse Information option is set. It just tells me
that the defintion does not exist and doesn't offer to build the browse
information. In the non-MFC projects this works. However in VC 6.0 I
can place the cursor any place in the function name and it goes there.
In VC.Net I seem to have to highlight the whole function reference, I.e
Class.method before it will recognize it. Is this the new
functionality? When I just put the currsor somewhere in the name it
says: The symbol 'r' is not defined, no matter what the fucntion name
is.

I am using Visual Studio.Net 2003 that I downloaded from MSDN.
David Lowndes - 17 Jul 2005 09:59 GMT
>I am in the process of upgrading a number of VC++ 6 projects to VC++
>.Net. I have noticed that for MFC projects the Class View information
>is not available.

Have you tried closing the solution, deleting the .ncb file, and then
re-opening the solution?

>A related issue is that in the MFC projects I also don't seem to be
>able to
>go to the definitions of functions by clickng on Goto Definition

I think it's the same problem.

Dave
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq

charles_weaver@post.harvard.edu - 17 Jul 2005 14:22 GMT
I deleted the .ncb and reopened the project and got the same result. I
then even created an MFC project with VC.Net and that doesn't show the
classes either, even though it has an .ncb file of what looks like a
reasonable size.

I discovered that even one of the files that isn't MFC doesn't have a
ClassView either.

And Intellisense just doesn't work on any of the projects, even those
with a Class View. When you put the cursor on a function it shows
garbage and when you are filling in parameters of functions it does't
show you the arguments.

I must have something messed up in my installation or settings. I don't
want to blindly keep reinstalling or to change settings randomly. I
hope someone will be able to point me in the right direction.
David Lowndes - 17 Jul 2005 23:08 GMT
>I deleted the .ncb and reopened the project and got the same result. I
>then even created an MFC project with VC.Net and that doesn't show the
>classes either

In that case your experience isn't typical, unless you've added some
code to the project that the processing has a problem with - I presume
you've just created a default App Wizard project, so that shouldn't be
a problem.

I don't know what to suggest (other than a re-install - possibly on
another system to reassure yourself) as I've not experienced such a
catastrophic failure with the class view information myself.

Dave
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq

aravindmr - 17 Jul 2005 18:24 GMT
For me its working, I opened the VC6 Project in .NET IDE and it prompted to
convert the project to VC7, I clicked Yes to All and I was able to see all
the classes in Class view.
I think there is some problem with the installation of .Net in your machine.

> I am in the process of upgrading a number of VC++ 6 projects to VC++
> ..Net. I have noticed that for MFC projects the Class View information
[quoted text clipped - 16 lines]
>
> I am using Visual Studio.Net 2003 that I downloaded from MSDN.

Rate this thread:







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.