473,383 Members | 1,837 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,383 software developers and data experts.

Lost intelisence

Hello all,
In a Managed C++ project I added a class, "CGenClass", and then included it's
header in the Form .h. I can create a instance of CGenClass by doing:
CGenClass* pC = new CGenClass();

but when I do:
pC->
I don't see any members, variables,etc. What happened to my Intelisense?

Any help appreciated....
TIA,

Ray k.
Nov 17 '05 #1
2 1001
Ray,

Intelisense frequently seems to be as picky about syntax as the C++ language itself is. I actually take this as a good thing ... since if Intelisense quits working I go back and look for a mistake in the lines of code I added since the last time Intelisense worked.

Intelisense is also "scope sensitive". If you are trying to use a class or struct pointer variable outside of it's scope, the members will not appear.

Also, as a variation of the above, you sometimes will have to specify the name of the class containing the pointer variable. In your case, for example:

CForm::pC->

Ben

"raykos" wrote:
Hello all,
In a Managed C++ project I added a class, "CGenClass", and then included it's
header in the Form .h. I can create a instance of CGenClass by doing:
CGenClass* pC = new CGenClass();

but when I do:
pC->
I don't see any members, variables,etc. What happened to my Intelisense?

Any help appreciated....
TIA,

Ray k.

Nov 17 '05 #2
One thing as well about intellisense. I have found sometimes when
working with multiple projects in a single solution, my .ncb file can
get corrupt. If all else fails, close out of VS and go to the project
file you are working on. Delete the .ncb file. Then, restart VS and
open the project. This will generate a new .ncb file. 9 out of ten
times it fixes the problem for me. Of course you do need to make sure
you don't have any syntax mistakes first.

I got this out of the MSDN.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 17 '05 #3

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

Similar topics

6
by: Tony G. | last post by:
Hi there, I have an APS 3 application, running on a Windows 2003 Web edition server - it is a very busy website, and when users are click on certain links (membership info), a new window i...
4
by: ECVerify.com | last post by:
I have a basic question about something as simple as Intelisence. When making variables in VB.NET I do Dim a as <<<----- and right here pops up intelesence of my type options, so that helps me...
0
by: Nick | last post by:
I have a situation wherein i have a text box, that has abc() being executed whenever the lost focus event is triggered. However, there is an exceptional case where, if a button click causes the...
7
by: Erik | last post by:
I have an application that uses sessions variables a lot but one I publish the application on the prod server these variables are lost. The application is written i c# 2.0 and I've set the...
2
by: maxkumar | last post by:
Hi, I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website has been running for about 1.5 years now. In the past, we used to have random cases of session variables getting...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.