Solved

IntelliSense Problem

Posted on 2004-09-17
11
186 Views
Last Modified: 2010-04-24
Hello experts,

I have a C project that was developed in Visual Studio 6.0. I converted that project to a Visual C++ .NET solution with the hope to use more sophisticated .NET IDE, including IntelliSense.

In the project I have a number of user defined types, enumerations, "defines" and functions. I use also libraries that are shipped together with corresponding .h files.

My problem is that IntelliSense does not show the functions defined in the libraries although the prototypes are included in the .h files (included in the project). It is interesting that the enumerations, defined in the same .h files, are recognized and shown by IntelliSense.

Maybe it's irrelevant but just to mention: I use .net as a development environment, however compiling and linking are executed by external C compiler and C linker.

Thanks!
TheAvenger
0
Comment
Question by:TheAvenger
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 6

Assisted Solution

by:Svetlin_Panayotov
Svetlin_Panayotov earned 50 total points
ID: 12082216
I had similar problem - with external library - all enums are there - but no functions/classes are shown.It happens with VS2003 only though - VS2005 does not have trouble.Maybe there's some way around in 2003 but I don't know it.

Svetlin
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12082309
Hmmm, I'd like to find a solution for VS 2003. I don't want to go to VS 2005 as I use 2003 for other things and 2005 is still a beta....
0
 
LVL 16

Accepted Solution

by:
nonubik earned 200 total points
ID: 12082341
Try using VisualAssist http://www.wholetomato.com/downloads/index.html , it has no problem with that.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 20

Author Comment

by:TheAvenger
ID: 12082385
I would prefer to use the integrated IntelliSense rather than pay for an additional tool that has almost the same functionality.

This seams like a very stupid and simple problem: functions from .h files are not visible, that seams like too big a bug to have no solution...
0
 
LVL 16

Expert Comment

by:nonubik
ID: 12082415
Hey, if it would have "almost the same functionality" they (tomato guys) wouldn't bother to do it ;) It has to be better.

Try removing the .ncb file : close solution, remove .ncb, reopen solution.
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12082481
On the pictures it seams almost the same...

Deleting the .ncb files does not help :-((
0
 
LVL 16

Expert Comment

by:nonubik
ID: 12082505
>On the pictures it seams almost the same...
Well, I'm using it and have no problem with that. You can try the trial..
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12082539
It's a possibility, but now one that I would like to have. I would prefer to just correct the IntelliSense or find an official place where it is written that this is a bug, that cannot be solved, so that then I try to find another solution.
0
 
LVL 16

Expert Comment

by:nonubik
ID: 12082565
I tried to search on MSDN, but there are way to many results in KB for intellisense .net 2003 ...
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 12090640
If IntelliSense is not working at all, there are two of well-known ways to handle this (removing of temporary project files, including of h-files to the project). But if IntelliSense doesn't work for some functions - there is nothing to do. IDE tools like IntelliSense, Class View, Wizards etc. are not so smart as C++ compiler. It is always possible to write complicated C++ code which is successfully compiled, but cannot be shown by IDE tools.
VC++ 2003 IDE is better than VC++ 6. As Svetlin_Panayotov writes, VC++ 2005 is better. However, I guess this problem remains in all versions of VC++, because IDE tools are working with source code without compiler help.
0
 
LVL 6

Expert Comment

by:Svetlin_Panayotov
ID: 12091168
Well, AlexFM gave really good explanation - I also don't see any way around - you can try Visual Assist (as nonubik wrote) or use 2005 (yes, it's still beta - but looks stable enough for me)

Svetlin
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DLL Windows equivalent in MAC OS 8 129
Visual c++ problem with command line conflicts 22 195
C# - Function parentheses 11 55
Need some help with GetPrinterDevice 4 92
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question