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

Question with Templates debugging in VC++ 6.0

Hi

I would be greatful if someone can get me the solution for this
question...

I have a template class and i have seperated the definition and declaration
in a seperate .h and .cpp file which compiles in a dll.
Now my problem is that i am unable to see the value in the watch window for
the Object . I was able to do the same when i was having the implementation
in a .h file .

Also i have a slight idea that it has got to do something the AutoExp.bat
file in VC.
But i am unable to figure out this...

Thanks in advance
Param
Jul 19 '05 #1
2 1735
Param wrote:
Hi

I would be greatful if someone can get me the solution for this
question...

I have a template class and i have seperated the definition and declaration
in a seperate .h and .cpp file which compiles in a dll.
Now my problem is that i am unable to see the value in the watch window for
the Object . I was able to do the same when i was having the implementation
in a .h file .

Also i have a slight idea that it has got to do something the AutoExp.bat
file in VC.
But i am unable to figure out this...


Without some code or some error messages etc, answering this will
require a cystal ball. comp.land.c++ is fresh out of crysral balls, we
ran out earlier today.

Post some example compiling code ...

My guess would be that you'd be better off placing all the template
stuff BACK into the header file instead of the cpp file.

Jul 19 '05 #2
Param wrote:
Hi

I would be greatful if someone can get me the solution for this
question...

I have a template class and i have seperated the definition and declaration
in a seperate .h and .cpp file which compiles in a dll.
Now my problem is that i am unable to see the value in the watch window for
the Object . I was able to do the same when i was having the implementation
in a .h file .

Also i have a slight idea that it has got to do something the AutoExp.bat
file in VC.
But i am unable to figure out this...


The solution to your problem can be found here:

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #3

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

Similar topics

1
by: Joe | last post by:
I made a template for webforms. The template.inf calls for two files the ..ascx and the .cs. The .cs template file's code does not get written out to the newly added control? Joe
10
by: Andrew Chalk | last post by:
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my...
6
by: Ben Ingram | last post by:
Hi all, I am writing a template matrix class in which the template parameters are the number of rows and number of columns. There are a number of reasons why this is an appropriate tradeoff for...
3
by: Dennis Pais | last post by:
Here's a piece of code that I found in C++ Primer by Stan Lippman ! ------------------------------------------------- template<typename T, int size> T min(T (&r_array) ) { Type min_value =...
4
by: Greg Merideth | last post by:
Is it possible to change the default templates in VS 2003? Everytime I start a new web method project I have to include a ton of version control headers and region tags. It would be handy to be...
1
by: Brian Henry | last post by:
How do you make a project template like how the add-in project is? I need to make my own custom template so I can create projects with predetermined sets of items and settings. thanks!
9
by: Hasani \(remove nospam from address\) | last post by:
I was reading a ppt ( http://www.gotdotnet.com/team/pdc/4064/tls310.ppt ) and came aross this statement. "Users can leverage a destructor. The C++ compiler generates all the Dispose code...
11
by: Peter Oliphant | last post by:
Is there any plan to support templates with managed code in the (near) future? For instance, VS.NET 2005... : )
9
by: James | last post by:
Complete neophyte to VC++. I do have a base knowledge of how API calls work and the general structure of these applications, but I'm getting bogged down with details. Just a few, relatively...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.