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

use VS.net to write pure c++

Hello,
I am using VS.Net2003 as editor to write my pure C++ program, in other words
I am not using any .net feature and all the code are unmanaged. How do I tell
the compiler(VS.Net 2003) this is what I want, as by defaulti it seems I
cannot see the address information of the the pointer etc(which we see in
VS6).
Thanks,
Jazz
Nov 17 '05 #1
3 1037


Jazz a écrit :
Hello,
I am using VS.Net2003 as editor to write my pure C++ program, in other words
I am not using any .net feature and all the code are unmanaged. How do I tell
the compiler(VS.Net 2003) this is what I want,
Compile without the /clr switch. The simplest way is to create an
unmanaged project (either console, either winddow), and add your files
to it.
as by defaulti it seems I
cannot see the address information of the the pointer etc(which we see in
VS6).

?? What do you mean? The compiler does ot allow to "see the address
information of the the pointer". Are you talking about the debugger ?

Arnaud
MVP - VC

Nov 17 '05 #2

"Jazz" <Ja**@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
Hello,
I am using VS.Net2003 as editor to write my pure C++ program, in other
words
I am not using any .net feature and all the code are unmanaged. How do I
tell
the compiler(VS.Net 2003) this is what I want, as by defaulti it seems I
cannot see the address information of the the pointer etc(which we see in
VS6).
Thanks,
Jazz


I'm having no trouble seeing the hex addresses stored in my pointers in
either the Autos or Locals tabs in the output window. (No special settings
to indicate unmanaged code) This in a Win 32 Console project started from
scratch as an empty project. What project type and template are you using?

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Nov 17 '05 #3
Thanks.

"ad******@club-internet.fr" wrote:


Jazz a écrit :
Hello,
I am using VS.Net2003 as editor to write my pure C++ program, in other words
I am not using any .net feature and all the code are unmanaged. How do I tell
the compiler(VS.Net 2003) this is what I want,


Compile without the /clr switch. The simplest way is to create an
unmanaged project (either console, either winddow), and add your files
to it.
as by defaulti it seems I
cannot see the address information of the the pointer etc(which we see in
VS6).

?? What do you mean? The compiler does ot allow to "see the address
information of the the pointer". Are you talking about the debugger ?

Arnaud
MVP - VC

Nov 17 '05 #4

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

Similar topics

11
by: santosh | last post by:
Hello, I was going through the Marshal Cline's C++ FAQ-Lite. I have a doubt regarding section 33.10. Here he is declaring a pure virtual destructor in the base class. And again defining...
8
by: Zheng Da | last post by:
I don't know where should I ask the question, so send the email to this group. I choose this group, because I want to write the program with c++ :) I want to write a program which support...
34
by: zhuyin.nju | last post by:
can some one tell that how to use pure c to write OO programs? thanks in advanced!
8
by: Ted Miller | last post by:
Hi folks, I'm looking at moving a large base of C++ code to .Net under tight time constraints. The code runs in mission-critical environments, and I am extremely concerned about the loader lock...
19
by: Levi Campbell | last post by:
Hi, I'm thinking about writing a system for DJing in python, but I'm not sure if Python is fast enough to handle the realtime audio needed for DJing, could a guru shed some light on this subject...
10
by: John Goche | last post by:
Hello, page 202 of Symbian OS Explained by Jo Stichbury states "All virtual functions, public, protected or private, should be exported" then page 203 states "In the rare cases where a...
5
by: =?Utf-8?B?U2hhcm9u?= | last post by:
I have a class that is writen in unmanaged pure native C++. This class files (h and cpp) are inserted to a managed C++ (VC++ 2005, C++/CLI) DLL compoenet. This DLL compoenet is used in a C#...
6
by: Miguel Guedes | last post by:
Hello, I recently read an interview with Bjarne Stroustrup in which he says that pure abstract classes should *not* contain any data. However, I have found that at times situations are when it...
14
by: Jack | last post by:
Hi, I meet a question with it , I did not get clear the different betteen them, for example: #include <iostream>
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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?
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.