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

How to convert a VC++ MFC project into a VC++ .NET project?

Is there a way to convert a VC++ MFC project into a VC++ .NET project?
If yes, how do I do it?
Dec 6 '07 #1
6 2770

"Kueishiong Tu" <Ku**********@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
Is there a way to convert a VC++ MFC project into a VC++ .NET project?
If yes, how do I do it?
Manually, I believe. I don't believe there is, or will be, a tool for
automated conversion. Everything is different: the class libraries, the
language syntax, the target platform, etc.

Dec 7 '07 #2
Hi Kueishiong!
Is there a way to convert a VC++ MFC project into a VC++ .NET project?
If yes, how do I do it?
What ist VC++ .NET ???

Just enable the "/clr" switch (Projept Properties|General|Common
Language Runtime Support), then you have an .NET project!

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Dec 7 '07 #3
Dear Jochen:

What version of VC++ .NET you have?
I didn't see that choice in my VC++ .NET 2003.
"Jochen Kalmbach [MVP]" wrote:
Hi Kueishiong!
Is there a way to convert a VC++ MFC project into a VC++ .NET project?
If yes, how do I do it?

What ist VC++ .NET ???

Just enable the "/clr" switch (Projept Properties|General|Common
Language Runtime Support), then you have an .NET project!

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Dec 8 '07 #4
Dear PvdG42:

How to do it manually? Can I write a wrapper or do I have have to start from
the scratch?

"PvdG42" wrote:
>
"Kueishiong Tu" <Ku**********@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
Is there a way to convert a VC++ MFC project into a VC++ .NET project?
If yes, how do I do it?

Manually, I believe. I don't believe there is, or will be, a tool for
automated conversion. Everything is different: the class libraries, the
language syntax, the target platform, etc.

Dec 8 '07 #5
Hi Kueishiong!
What version of VC++ .NET you have?
VC5-VC9 (VS95-VS2009)
I didn't see that choice in my VC++ .NET 2003.
Project|Properties|Configuration Properties|General|Managed Extensions: Yes

Greetings
Jochen

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Dec 8 '07 #6
"Kueishiong Tu" <Ku**********@discussions.microsoft.comwrote in message
news:AF**********************************@microsof t.com...
Dear PvdG42:

How to do it manually? Can I write a wrapper or do I have have to start
from
the scratch?
I think we need you to define what you mean by "convert a VC++ MFC project
into a VC++ .NET project".
If all you want is CLR support enabled, the /clr switch will do it. If what
you had in mind is to actually convert the existing functionality from
extensions of MFC classes to a C++/CLR (managed extensions in VS .NET 2003)
application based on CLR Windows Forms and using the .NET class library,
setting the /clr switch won't do that.

When I responded to you, I was assuming you wanted a full functionality
conversion.

Dec 9 '07 #7

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

Similar topics

7
by: Dave | last post by:
Does anyone know of a Windows compatible command line tool that capable of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln, ..vcproj, etc.) files and generating an...
2
by: Abhijit Bhadra | last post by:
Hi , I was trying to build my project in VC with latest Service Packs but got this error . C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlconv.h(125) : error C2440: 'return' :...
2
by: KevinGPO | last post by:
Just wondering if anyone knows if there are converters to convert from: MS Visual C++ 6.0 or MS Visual Studio 2003 project files into UNIX autogen/configure/make files?
8
by: Paul | last post by:
Hi all may I know how to use C# DLL inside my VC++ Project ? Thanks in advance.
27
by: Marc Reinig | last post by:
I have a program written in Visual Studio 2003 Visual Basic. I would like to move it to Visual C++. Is there an automated or relatively automated way of doing that, or do I need to recreate all...
0
by: parekh | last post by:
Hi All , I am facing a problem wherein my VB project is not recognizing a change in the argument list of a method ( the method itself being declared and defined in another VC++ project and it...
0
by: =?Utf-8?B?S3VlaXNoaW9uZyBUdQ==?= | last post by:
I have a VC++ MFC project, I would like to convert it into a VC++ .NET Window Form. How do I do it?
4
by: =?Utf-8?B?S3VlaXNoaW9uZyBUdQ==?= | last post by:
I have a VC# .NET project which is imported from an OCX control using AxImp. I would like to convert it into a VC++ .NET project. Is there any way to do it and how to do it?
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.