We are sitting with a bit of a challenge. We are trying to convert a
C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6.
cannot find any resources on the net that can explain how and if this
Thanks In Advance,
You'd ideally need to find someone with past experience of already
having done so - which may be rare.
I'd recommend that rather than "convert", you start from a new
project. Pick the best type of Visual C++ project that matches your
requirements to start from. Then take the core parts of the C++ code
from your existing project and add them to the new VC++ one.
Well, "converting" is a broad term. If this application uses
Borland-specific technologies, then converting implies rewriting
of relevant parts of the program.
However, usually you just create new solution in VS, then add
existing files and settings and fix build error until it builds
cleanly. BTW, VS6 is really old. I suggest you to port your
application to newer version of VS. Latest version of Express
Edition of VS is free.
However, .NET is a copy of, or is based in, the same principles that VCL
and there are direct correspondences between VCL and .NET classes. A VCL
Form is a .NET Form and practically have the same methods, events and with
similar names. Then an option will be to use C++/CLI (VS 2005 or upper),
but you need to rewrite ALL (and learn a new lenguage -C++/CLI). Having a
direct "concept" correspondence does not mean direct compiling only
copying code. You need to "paraphrase" the VCL C++ code into C++/CLI
equivalent code. And you will have a lot of issues in the conversion.
Converting VCL to MFC has a lot more issues because VCL is event driven
and MFC is "Win32 driven". BTW you continue having some correspondences
because, for example, a MouseMove VCL event is a WM_MOUSEMOVE Windows
Message, and you can map it. However, if you are using more advanced VCL
stuff like non Win32 direct equivalent components, or component
subclassing "a la" VCL, you will have a nightmare in the conversion, more
difficult as more high level VCL use you are doing.
On Mon, 21 Dec 2009 07:55:58 +0100, Nithin <nithin....@gmail.com>
Microsoft Visual C++ MVP => http://geeks.ms/blogs/rfog
Si Dios me hubiera consultado sobre el sistema del universo, le habria
dado unas cuantas ideas.
-- Alfonso X El Sabio. (1221-1284) Papa.
However this application was developed there is no way to directly port
this to VS. Borland technologies (VCL or OWL) are just totaly different
from MFC or .NET.
I recommend you to not use MFC or .NET either. Instead try using
something portable like QT (http://qt.nokia.com/) or wxWidgets
(http://www.wxwidgets.org/) that way you will have much less problems if
you ever decide to switch to another compiler or even operating system.
What is missing in Express edition?
Is it something that actually does something useful?
Programmer's Goldmine collections:
Tens of thousands of code examples and expert discussions on
organized by major topics of language, tools, methods, techniques.
Well, you are not saying enough about what you need.
Is there GUI stuff? What kind of app it is? Is it multithreaded?
How big it is? What kind of stuff it does?
What kind of specifically Borland stuff you do?
ALL sorts of things.
Or you are just looking for some magic tool that will allow you
to port it without moving a finger?
>However this application was developed there is no way to directly port
>this to VS. Borland technologies (VCL or OWL) are just totaly different
>from MFC or .NET.
>I recommend you to not use MFC or .NET either. Instead try using
>something portable like QT (http://qt.nokia.com/)
How good of a performance the QT has?
How easy does it map to an MFC app?
And lastly, some time ago I heard there was some copyright related
issues. Don't remember what exactly, but something to the extent
the closed at least some of their code. What kind of issues does
I need to port my monitoring firewall app to Linux.
Two things I am concerned is GUI code. Has to be non modal,
property sheet/property page type of stuff with fully resizable
And there is an NDIS intermediate driver.
Other stuff does not look like a big deal. Pretty straigtforward.
I did not look at QT stuff yet. Just want to get a rough idea
if it something worth looking at.
> or wxWidgets
>(http://www.wxwidgets.org/) that way you will have much less problems if
>you ever decide to switch to another compiler or even operating system.
You can find brief comparison of VS editions here:
You can find brief comparison of VS editions here:
"Visual Studio Editions"
Also, there is comprehensive detailed comparison here:
"Visual Studio 2008 Product Comparison Guide"
No source control kinda kills the whole thing.
Btw, I have heard somewhere a while back there is a way to get
J# with VS 2008 and later. Anybody knows anything about it?
You may use Perforce server for personal projects. Also, there is
SVN, which is free.
Never tried that one. But it is probably not integratable into VS,
or is it?
Perforce is one of the best source control systems on the market.
It is fully integrable with VS and has stand alone client, as
well. See more details at their web site.
We're using Subversion (SVN) here and it integrates perfectly into Studio 5
"Nithin" <nithin....@gmail.com> wrote in message