From: Nithin on 21 Dec 2009 01:55 Hi all, We are sitting with a bit of a challenge. We are trying to convert a Borland C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6. We cannot find any resources on the net that can explain how and if this can be done. Help Please? Thanks In Advance, Nithin
From: David Lowndes on 21 Dec 2009 04:55 >We are sitting with a bit of a challenge. We are trying to convert a >Borland >C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6. >We >cannot find any resources on the net that can explain how and if this >can be >done. Nithin, 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. Dave
From: Alex Blekhman on 21 Dec 2009 05:01 "Nithin" wrote: > We are sitting with a bit of a challenge. We are trying to > convert a Borland > C++ App to either Microsoft Visual Studio C++.net or Visual > Studio 6. We cannot find any resources on the net that can > explain how and if this can be done. 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. Alex
From: RFOG on 21 Dec 2009 05:48 You cannot do it directly in any way, as David and Alex has told you, less if you are using VCL stuff... 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.papdeja(a)gmail.com> wrote: > Hi all, > > We are sitting with a bit of a challenge. We are trying to convert a > Borland > C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6. > We > cannot find any resources on the net that can explain how and if this > can be > done. > > Help Please? > > Thanks In Advance, > Nithin > > -- 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.
From: Darko Miletic on 21 Dec 2009 14:04 Nithin wrote: > Hi all, > > We are sitting with a bit of a challenge. We are trying to convert a > Borland > C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6. > We > cannot find any resources on the net that can explain how and if this > can be > done. > 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.
|
Next
|
Last
Pages: 1 2 3 Prev: extern for global variable: C Question Next: linking warning message. C Question! |