Link to home
Start Free TrialLog in
Avatar of GiantMatrix
GiantMatrix

asked on

Converting C(++) code to Delphi code

I'm looking for a tool/ program that can automatically converts (C++) code to Delphi code.

I am using Borland C++ Builder as the C++ tool and Delphi 7 as the Delphi tool

Thanks in advance
Avatar of robert_marquardt
robert_marquardt

Forget about it. A complete conversion is impossible because C++ has language features which cannot be transformed.
It is also a task similar to writing a C++ compiler (no wonder it *is* a compiler). You will only find a handful of experts being able to do that.
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GiantMatrix

ASKER

mnasman,

Nice idea, I will try it but then I will have a lot of dll's as my BCB project is quite big.

I've found some tools for conversion like (http://www.fileedge.com/Cat/Development/Help-Tools/Delphi-to-C-Builder.html) but those do convert from Delphi to C++ Builder :(

All I am hoping for is NOT something that will take the whole source in one side and get me delphi code from the other side....I just need something that can help me...even with header files/ cpp files....buttom line something that will make my task a bit easier than just doing it all myself.

So even if there is a tool that will rougly even make the conversion then I correct any mistakes that will be more than great.