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

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 1271
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Canon EOS | last post by:
Hi, I am really new in .net and pocket PC development. My background are purely C/C++/VC++. Have developed on Mobile Java for a year and felt completely insecure with it because all codes can...
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
1
by: Steve | last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET platform. It would be nice to rewrite them completely in C#, but due to the time constraints this option is out of...
3
by: Mike Doyle | last post by:
Hi, I'm looking at migrating our existing from Visual Studio (6.00) C++ code to the .NET version of C++ (unmanaged) Can anyone point me towards documention or an overview of this ? Thanks in...
11
by: danip | last post by:
Hi there, I need to do the following: 1. Migrate a whole solution (with tens of projects) from VC 6.0 to VC 8.0. The project has a lot of MFC templates like CArray, and many error are poping out,...
6
by: phnimx | last post by:
I'm attempting to migrate a predominately MFC application that I've just inherited from Visual Studio.NET 2003 to Visual Studio 2005. I've managed to clean up a myriad of compile and link errors...
4
by: =?Utf-8?B?QXJqdW4=?= | last post by:
Hi, After migrating my application from VC++ 6.0 to VC++ 2005, I receive the error C2593 'operator +=' is ambiguous. It refers to the following line: Name += pManager->GetAgentName(); ...
4
by: VikrantS | last post by:
Hi, I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors when compiled in VS 2008, --- \Program Files\VC\atlmfc\include\afxcmn.inl(376) : error...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.