468,719 Members | 1,798 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,719 developers. It's quick & easy.

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

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.
Nov 17 '05 #1
8 1123
david_75 wrote:
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
Nov 17 '05 #2
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.

"Carl Daniel [VC++ MVP]" wrote:
david_75 wrote:
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

Nov 17 '05 #3
david_75 wrote:
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/lib...us,VS.80).aspx

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

Arnaud
MVP - VC
Nov 17 '05 #4
I've blogged on some of the issues I faced here :- http://blog.voidnish.com/

--
Regards,
Nish [VC++ MVP]
"david_75" <da******@discussions.microsoft.com> wrote in message
news:02**********************************@microsof t.com...
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.

Nov 17 '05 #5
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
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/lib...us,VS.80).aspx

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

Arnaud
MVP - VC

Nov 17 '05 #6
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 ;-)

--
Regards,
Nish [VC++ MVP]
"david_75" <da*****@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
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
> 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/lib...us,VS.80).aspx

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

Arnaud
MVP - VC

Nov 17 '05 #7
LOL... fun, yeah that's what I'd call it :o)

Tom

"Nishant Sivakumar" <ni**@nospam.asianetindia.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
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 ;-)

Nov 17 '05 #8
"Tom Serface" <ts******@msn.com> wrote in message news:Oh**************@tk2msftngp13.phx.gbl...
LOL... fun, yeah that's what I'd call it :o)


That's why subroutines in C are called FUNctions...

Nov 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Shai Levi | last post: by
1 post views Thread by Steve | last post: by
3 posts views Thread by Mike Doyle | last post: by
11 posts views Thread by danip | last post: by
4 posts views Thread by =?Utf-8?B?QXJqdW4=?= | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Oskars | last post: by
9 posts views Thread by bryonone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.