473,399 Members | 3,888 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,399 software developers and data experts.

Intellisense and template functions

Hi all,

I declared a templatized function in a .hpp file in Project_A. If I insert
a reference to that function somewhere in Project_A, intellisense gives me
the function signature.

Now, in Project_B, I've included the path to Project_A's source files in the
project properties, and I've referenced the hpp file via a "#include"
statement. Project_B has no problem building, but intellisense doesn't know
anything about the function in the hpp file.

What am I missing? TIA!
Nov 17 '05 #1
2 1293
I guess I should add that this is unmanaged C++

"Bob Altman" <rd*@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi all,

I declared a templatized function in a .hpp file in Project_A. If I insert a reference to that function somewhere in Project_A, intellisense gives me
the function signature.

Now, in Project_B, I've included the path to Project_A's source files in the project properties, and I've referenced the hpp file via a "#include"
statement. Project_B has no problem building, but intellisense doesn't know anything about the function in the hpp file.

What am I missing? TIA!

Nov 17 '05 #2

"Bob Altman" <rd*@nospam.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl...
I guess I should add that this is unmanaged C++

"Bob Altman" <rd*@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi all,

I declared a templatized function in a .hpp file in Project_A. If I

insert
a reference to that function somewhere in Project_A, intellisense gives me the function signature.

Now, in Project_B, I've included the path to Project_A's source files in

the
project properties, and I've referenced the hpp file via a "#include"
statement. Project_B has no problem building, but intellisense doesn't

know
anything about the function in the hpp file.

What am I missing? TIA!


When this happens I find deleting the *.ncb file of the project helps. Try
removing this file from the project directory (not deleting it), open the
project, rebuild(?), and see if it displays correctly.

Regards, M
Nov 17 '05 #3

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

Similar topics

8
by: andrew.queisser | last post by:
Yesterday I typed in some C++ code that called a function with two ints. Intellisense (auto-complete) helpfully told me that the first formal parameter was called "frontLight" and the second...
5
by: Don | last post by:
Hi: I have created an xsd from my xml document. I pop this xsd in the following directory: C:\program files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml. That give me...
0
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier...
9
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net...
3
by: 0to60 | last post by:
Sometimes it does, sometimes it doesn't. It seems to work most when declaring variables, and hitting "::" between namespaces. But when I hit "->" I get the message "Intellisense: no additional...
0
by: Tommy Tucker | last post by:
Lately, I have been experiencing 30 to 60 second delays after every open parenthesis (calling a function), less than symbol (initializing a template), object function call (dot after a class object...
3
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and...
3
by: =?Utf-8?B?SmltIFJvZGdlcnM=?= | last post by:
It's perhaps not the end of the World, but I find it annoying that I lose IntelliSense when I reference Subs and Functions I have moved to an #Included file. Does anyone know of a reasonable way...
5
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.