By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,495 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,495 IT Pros & Developers. It's quick & easy.

Cannot get intellisense to work with VS 2005 and C++/CLI

P: n/a
Hi,

I am new to Visual C++ (I have been using C# for the last 4 years) and
would like to make the transition to C++.

On my first project, I cannot get intellisense to work (either in a *.h
file or a *.cpp file). I have tried troubleshooting using the methods
recommended i.e. closing the project, removing the *.ncb file, and
reopening the project. It does not seem to work.

I am probably missing something simple. I appreciate your help in this
matter. Thanks in advance.

Regards

Chris

Apr 23 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Intellisense is definitively broken in C++/CLI, but adding "::" to .NET
clasess sometimes helps.
Like this:

::FileStream ^fs=gcnew ::FileStream(...
And in vc++ express intellisense works better than, at least, in vs prof.

--

-------------------
Estadísticas BOINC: http://www.boincsynergy.com/images/stats/comb-3905.jpg
-------------------
Las chicas buenas van al cielo. Las malas a todas partes.
-- Cantervill. (1953) Poeta, cantautor, internauta y webmaster argentino.

<cn*******@yahoo.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Hi,

I am new to Visual C++ (I have been using C# for the last 4 years) and
would like to make the transition to C++.

On my first project, I cannot get intellisense to work (either in a *.h
file or a *.cpp file). I have tried troubleshooting using the methods
recommended i.e. closing the project, removing the *.ncb file, and
reopening the project. It does not seem to work.

I am probably missing something simple. I appreciate your help in this
matter. Thanks in advance.

Regards

Chris

Apr 23 '06 #2

P: n/a
In general, IntelliSense in C++ (not just C++/CLI) is a strange and
unpredictable animal. It also gets quirkier as your projects get larger.

There is a product called Visual Assist X, made by Whole Tomato
(http://www.wholetomato.com) that among many other things, "fixes" some of
the problems with IntelliSense. I would suggest downloading the 30-day trial
and seeing if you like it before buying - not everyone does.

Sean
"cn*******@yahoo.com" wrote:
Hi,

I am new to Visual C++ (I have been using C# for the last 4 years) and
would like to make the transition to C++.

On my first project, I cannot get intellisense to work (either in a *.h
file or a *.cpp file). I have tried troubleshooting using the methods
recommended i.e. closing the project, removing the *.ncb file, and
reopening the project. It does not seem to work.

I am probably missing something simple. I appreciate your help in this
matter. Thanks in advance.

Regards

Chris

Apr 24 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.