Discussion:
Visual C++ code to C++Builder code
(too old to reply)
alain
2008-07-23 09:49:01 UTC
Permalink
Hello,

Can someone guide me to load a Visual C++ code and make a Borland
C++Builder application ?

Thnx
Alex Bakaev [TeamB]
2008-07-23 18:33:54 UTC
Permalink
Post by alain
Hello,
Can someone guide me to load a Visual C++ code and make a Borland
C++Builder application ?
Thnx
What exactly are you looking for? Would creating a new project in BCB
and adding source code work?
alain
2008-07-24 06:30:24 UTC
Permalink
What exactly are you looking for? Would creating a new project in BCB and
adding source code work?
This is what I don't know !
I was supplied source codes in Visual C++ for a Biometric capture system
The extensions of the file are

vcproj
cpp
rc
h

Which should I include in the C++Builder unit.h or rename ?
Supplier does only Visual C++
Remy Lebeau (TeamB)
2008-07-24 08:13:36 UTC
Permalink
Post by alain
vcproj
That is the main project file. You can't use that in BCB. Create a new
project fresh.
Post by alain
cpp
rc
h
Those you can use as-is. Simply add them to the new project. The
particular code may need tweaking to work properly in the Borland compiler,
though.


Gambit
alain
2008-07-24 11:55:22 UTC
Permalink
Post by Remy Lebeau (TeamB)
Those you can use as-is. Simply add them to the new project. The
particular code may need tweaking to work properly in the Borland
compiler, though.
Application run OK

A blank for Normal ;)

with Some warnings

[C++ Warning] atlhost.h(2031): W8012 Comparing signed and unsigned values
[C++ Warning] mshtml.h(8073): W8058 Cannot create pre-compiled header:
initialized data in header
[C++ Warning] EnrollmentDlg.cpp(101): W8004 'rc' is assigned a value that is
never used
JohnC
2008-07-24 14:46:25 UTC
Permalink
I'm amazed!
I never would have dreamed that the conversion would be this easy. I
expected to hear that he was in for a 6 mo. job.
John
Post by alain
Post by Remy Lebeau (TeamB)
Those you can use as-is. Simply add them to the new project. The
particular code may need tweaking to work properly in the Borland
compiler, though.
Application run OK
Arnie
2008-07-24 15:13:15 UTC
Permalink
Well JohnC, the project sounded pretty simple. If, on the other hand, it
included a number of WinForms, DB access and MFC, then 6 months sounds
pretty optimistic ;-)

- Arnie
Post by JohnC
I'm amazed!
I never would have dreamed that the conversion would be this easy. I
expected to hear that he was in for a 6 mo. job.
John
Post by alain
Post by Remy Lebeau (TeamB)
Those you can use as-is. Simply add them to the new project. The
particular code may need tweaking to work properly in the Borland
compiler, though.
Application run OK
Loading...