473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

No ClassView for MFC projects?

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.

Nov 17 '05 #1
4 1356
>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
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2
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.

Nov 17 '05 #3
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.

"ch************@post.harvard.edu" wrote:
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.

Nov 17 '05 #4
>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
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Brett C. | last post by:
For my thesis (once the bloody thing stops throwing bugs at me) I am going to need to collect stats on the frequency that atomic types in local variables are applied to various opcodes and methods....
1
by: Adriaan Renting | last post by:
I think the point you want to make is that Python needs vastly less lines of code as a similar application written in C++. I think Python might on average be 50-60% of comparable C++ code, but not...
0
by: audipen | last post by:
Hi, I've facing a certain problem with selected item in the ClassView. Basically here is what I do - When the user right-clicks on an item in the ClassView ,he can select a pop-up menu...
0
by: cybertof | last post by:
Hello, Is there an issue regarding a .cs file source and the class view not beeing reflecting changes on classes ? The .cs file is - is typically an 'utility' class to be used from various...
0
by: cybertof | last post by:
Hello, Is there an issue regarding a .cs file source and the class view not beeing reflecting changes on classes ? The .cs file is - typically an 'utility' class to be used from various...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
0
by: charles_weaver | last post by:
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...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.