Home > Archive > VC Language > June 2005 > From Borland C++ 502 to Visual C++
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
From Borland C++ 502 to Visual C++
|
|
|
| HI,I need help!!! I've the source code of a software written with
Borland C++ 5.02 IDE. I want to port this code from Borland C++ 502 to
Visual C++ 6. Is this possible?? Do you have any advice for me??
Thank's for All
Jasp
| |
| Carl Daniel [VC++ MVP] 2005-06-02, 8:59 pm |
| Jasp wrote:
> HI,I need help!!! I've the source code of a software written with
> Borland C++ 5.02 IDE. I want to port this code from Borland C++ 502 to
> Visual C++ 6. Is this possible?? Do you have any advice for me??
> Thank's for All
Does it use the Borland VCL? If so, you're probably better off starting
over from scratch.
On the other hand, if it's mostly "vanilla C++", you should be able to
compile most of it with VC++ with few or no changes. You're just going to
have to try it to find out what problems you encounter with your particular
code.
-cd
| |
| Torsten Mueller 2005-06-03, 3:59 am |
| "Carl Daniel [VC++ MVP]" write:
> Does it use the Borland VCL?
Surely not. VCL came with Borland C++ Builder, this was the successor
of BC++ 5.02. The OO Windows framework of BC++ 5.02 was still called
OWL (Object Windows Library). This framework was MFC-inspired since
it's early days but totally different in the details of design and
implementation. If OWL is used your approach is still the best:
> If so, you're probably better off starting over from scratch.
I would do this in every case because this Borland Compiler is really
obsolete now (1997?) and did include some individual implementations
of C++ details, especially templates. It was still without STL but
with an own container template library. Version 5.02 was not very
stable and programmers did indeed make special arrangements in their
code to achieve just a stable compilation. This was in the end one
reason for us to change to VC++ 5 in the late 90s.
T.M.
| |
|
| Hi Thank's for your speedy answer. But i'm not a good programmer, i'm a
student, how do i understand what kind of source i have??
Thank's for all
Jasp
"Jasp" <alessandro.cipriani-lala@poste.it> ha scritto nel messaggio
news:efSzTS7ZFHA.1412@TK2MSFTNGP12.phx.gbl...
> HI,I need help!!! I've the source code of a software written with
> Borland C++ 5.02 IDE. I want to port this code from Borland C++ 502 to
> Visual C++ 6. Is this possible?? Do you have any advice for me??
> Thank's for All
>
> Jasp
>
| |
| Carl Daniel [VC++ MVP] 2005-06-04, 3:58 pm |
| Jasp wrote:
> Hi Thank's for your speedy answer. But i'm not a good programmer, i'm
> a student, how do i understand what kind of source i have??
Dive in and start reading the source.
One thought: look for the names of files that are being #included. Attempt
to look up those that you find that are not part of your project in the VC++
documentation, if you don't find them, they're probably something
Borland-specific. For example, you might see #include <stdio.h>, which is a
C (and C++) standard header file and so is supported by VC++.
Does the program in question have a graphical user interface? If so, you're
likely to have to re-write it since Borland had their own proprietary GUI
library.
-cd
|
|
|
|
|