473,715 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Migrating legacy C++ code

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 advance,

MD
Nov 17 '05 #1
3 1207
My last 4 blog entries have been on the issues I faced when I compiled some
VC 6 code with VC 2005. It's far from comprehensive and probably covers less
than a quarter of the issues you may run into - but you may find something
useful there : http://blog.voidnish.com/

--
Regards,
Nish [VC++ MVP]
"Mike Doyle" <md@joe-mercer-is-god.com> wrote in message
news:Ap******** ********@newsfe 6-win.ntli.net...
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 advance,

MD

Nov 17 '05 #2
Mike Doyle wrote:
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 ?


Project conversion is done automagically by a wizard. Now, you could run in
some (rare) incompatibilite s due to conformance enhancements in Visual 2003.
See http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx.

The next point is to take advantage of the new compiler capabilities to
write (or refactor) better code ;-)

Arnaud
MVP - VC
Nov 17 '05 #3

"Arnaud Debaene" <ad******@clu b-internet.fr> wrote in message
news:eT******** *****@tk2msftng p13.phx.gbl...
Mike Doyle wrote:
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 ?


Project conversion is done automagically by a wizard. Now, you could run
in some (rare) incompatibilite s due to conformance enhancements in Visual
2003. See
http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx.

The next point is to take advantage of the new compiler capabilities to
write (or refactor) better code ;-)

Arnaud
MVP - VC

Thanks guys. Unfortunately, I think the old programmers were firm believers
in using as many "rare incompatibilite s" as possible ;-)

Cheers,
MD
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1764
by: masood.iqbal | last post by:
In this day and age, you never say no to any work that is thrown at you ---- so when I was offered this short-term contract to convert legacy C code to C++, I did not say no. Personally I believed that it was a somewhat futile exercise since one of the main requirements was for the existing API (a functional interface written in C) to remain the same. I would have much rathered that the mandate be ab-initio, but that was not the case...
3
3644
by: Eugen Gulinsky | last post by:
Hello guys, I am having problems trying to migrate our MSXML4-compatible stylesheets containing large msxsl:script blocks to a formate understandable by System.Xml:Xsl.XslTransform. I keep getting JS1135 errors saying that some variable was not declared. This scripts worked perfectly with MSXML4. Is there a guide for migraiton from MSXML to .NET or can you just give me some tips on how to resolve this issues without having to change...
3
2375
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached response). My first reply directed me to source code migration but I didn't have the source code. The second reply mentioned about .NET interoperability (PInvoke I think) but I MENTIONED THAT I COULDN'T FIND ANY DOCUMENTATION FROM MSDN LIBRARY BASED ON...
6
2766
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
1868
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 question. We started from rewriting some dll in C# in Visual Studio .NET. Now we face chalenges of interoperation between old VC++ 6.0 apps and new .NET C# components. To solve this problem we considered the following options:
3
1827
by: BobRoyAce | last post by:
I would really appreciate recommendations for sources of materials on migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a magazine that is particularly good for .NET stuff. I am just starting my journey into the .NET world, moving from a pure ASP one.
12
4666
by: jdokos | last post by:
Does anyone know of any good sources (white papers, etc.) regarding migrating from Teradata to DB2 UDB EEE? We are in the very beginning stages of investigating this as an option for some of the smaller projects that are going to Teradata presently. Thanks in advance for any and all information. Jeff
10
1631
by: Number 11950 - GPEMC! Replace number with 11950 | last post by:
I've been programming VB4, then VB6 for the past ten years using old school approaches such as modularisation with modules (instead of classes), state driven arrays, etc. I am initmately familiar with API, not bad with DAO, but found it easier to write my own data environment from scratch rather than figure out how the then "new" Data Environment" worked. While VS8 seems to offer so much more, using VB in VS8Pro, I am confronted with...
0
2598
by: cathy25 | last post by:
Hi, we are planning on migrating our sql from version 2000 to 2005 (I know SQL 2005 is in market from a while). As a part of testing, i have installed sql server 2005 on my development box and able to restore all databases from the production. When it came to DTS packages, I have used SSMS to migrate them by going into Management --> Legacy --> Data Transformation Services --> RC and selected Migrate Wizard. I have gone through the wizard and...
0
8817
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9322
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9092
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7963
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6641
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4472
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4734
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3170
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.