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
GiantMatrixAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

robert_marquardtCommented:
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.
0
Mohammed NasmanSoftware DeveloperCommented:
I'm not sure if there's a tool available to do this conversion

but why u don't convert your CB code into Dll or Borland Packages (.bpl), so you can use the existing code without needing to the conversion
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GiantMatrixAuthor Commented:
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.


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.