Board index » cppbuilder » Visual C++ code to C++Builder code

Visual C++ code to C++Builder code


2008-07-23 05:49:01 PM
cppbuilder86
Hello,
Can someone guide me to load a Visual C++ code and make a Borland
C++Builder application ?
Thnx
 
 

Re:Visual C++ code to C++Builder code

alain wrote:
Quote
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?
 

Re:Visual C++ code to C++Builder code

Quote
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++
 

{smallsort}

Re:Visual C++ code to C++Builder code

"alain" < XXXX@XXXXX.COM >wrote in message
Quote
vcproj
That is the main project file. You can't use that in BCB. Create a new
project fresh.
Quote
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
 

Re:Visual C++ code to C++Builder code

Quote
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
 

Re:Visual C++ code to C++Builder code

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
"alain" < XXXX@XXXXX.COM >wrote in message
Quote

>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
 

Re:Visual C++ code to C++Builder code

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
"JohnC" < XXXX@XXXXX.COM >wrote in message
Quote
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

"alain" < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...
>
>>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