Migrating codes to VC++ . NET 2005 from VC++ 6.0

G

Guest

I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET
requires a lot of code changes (if any) if I compile the project in native
code (or unmanaged code) without using the CLR in VC++ .NET.

Thanks for your feedback.
 
C

Carl Daniel [VC++ MVP]

david_75 said:
I wonder if the transistion from the project written in VC++ 6.0 to
VC++ .NET requires a lot of code changes (if any) if I compile the
project in native code (or unmanaged code) without using the CLR in
VC++ .NET.

That depends a very great deal on your code. The only way to find out for
your code base is to try it.

-cd
 
G

Guest

Thanks for your prompt reply, Carl. Is there an online source that points me
to the major differences in syntax between VC++ 6.0 and VC++ 8.0 (VC++ .NET
2005)? I meant the Standard C++ syntax, not to include the new syntax
C++/CLI, managed extentions in the .NET. Or could you point out some major
differences if you know any?

Thanks.
 
A

Arnaud Debaene

david_75 said:
Thanks for your prompt reply, Carl. Is there an online source that
points me to the major differences in syntax between VC++ 6.0 and
VC++ 8.0 (VC++ .NET 2005)?
Well, all the differences you will get are because of bugs or non-conformant
behaviour in VC6. Therefore, I don't know if the term "differences in
syntax" is appropriate. Anywat, here you have :

http://msdn2.microsoft.com/en-us/library/2tb15w2z(en-us,VS.80).aspx

Also see concerning changes in the CRT :
http://msdn2.microsoft.com/en-us/library/ms235497.aspx

Arnaud
MVP - VC
 
G

Guest

Thanks for your reply. Do you or anyone know how to compile native C++ code
(written in VC++ 6.0) in .NET 2005? Any switch or command do I need to know?
Is it possible to compile native code in .NET without involving/mixing with
..NET stuff (like clr, ect).?

Thanks.
 
N

Nishant Sivakumar

No extra switch needed. Open your VC6 project in VC 8 and it'll ask you if
you want to migrate the project to the new version. Click yes - do a
rebuild-all and watch the fun ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top