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.
Carl Daniel [VC++ MVP] - 02 Nov 2005 06:48 GMT
> 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
david_75 - 02 Nov 2005 06:59 GMT
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.
> > 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
[quoted text clipped - 5 lines]
>
> -cd
Arnaud Debaene - 02 Nov 2005 08:15 GMT
> 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
david_75 - 02 Nov 2005 18:41 GMT
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.
> > 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
[quoted text clipped - 10 lines]
> Arnaud
> MVP - VC
Nishant Sivakumar - 02 Nov 2005 19:18 GMT
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 ;-)

Signature
Regards,
Nish [VC++ MVP]
> Thanks for your reply. Do you or anyone know how to compile native C++
> code
[quoted text clipped - 21 lines]
>> Arnaud
>> MVP - VC
Tom Serface - 02 Nov 2005 19:53 GMT
LOL... fun, yeah that's what I'd call it :o)
Tom
> 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 ;-)
Pavel A. - 04 Nov 2005 22:21 GMT
> LOL... fun, yeah that's what I'd call it :o)
That's why subroutines in C are called FUNctions...
Nishant Sivakumar - 02 Nov 2005 16:48 GMT
I've blogged on some of the issues I faced here :- http://blog.voidnish.com/

Signature
Regards,
Nish [VC++ MVP]
>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.
Andy Rich - 02 Nov 2005 19:25 GMT
The programming suite is referred to as Visual C++ 2005. (No more .Net.) The actual ".Net" branding of products was confusing to me, but support for native C++ applications in VS2005 is as good as it ever was.
You can program with .net technologies if you want to, but there is no requirement to do so. Native is fully supported, and will be the default configuration for an upgraded VC6 project.
Later, if you want, you can turn on .net runtime support in the compiler options, and compile your code to .net (and then have access to nifty new features like Windows Forms).
-ATR-
-----Original Message-----
From: david75@discussions.microsoft.com
Posted At: Wednesday, November 02, 2005 9:41 AM
Posted To: microsoft.public.dotnet.languages.vc
Conversation: Migrating codes to VC++ . NET 2005 from VC++ 6.0
Subject: Re: Migrating codes to VC++ . NET 2005 from VC++ 6.0
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.
"Arnaud Debaene" wrote:
> david_75 wrote:
> > Thanks for your prompt reply, Carl. Is there an online source that
[quoted text clipped - 11 lines]
> Arnaud
> MVP - VC