use VS.net to write pure c++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Jazz said:
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?
 
Thanks.

Jazz a écrit :

Compile without the /clr switch. The simplest way is to create an
unmanaged project (either console, either winddow), and add your files
to it.

?? 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
 
Back
Top