Last post Jan 30, 2008 10:43 PM by David Anton
Jan 30, 2008 09:19 PM|ClayShannon|LINK
Are there any good and free C++ to C# conversion utilities "out there"? I need to take a project created with Borland C++ Builder 5 and compile it in MS Visual C++ 2008 Express, and hopely port it to C# thereafter to boot.
Jan 30, 2008 09:56 PM|marco.cs|LINK
Jan 30, 2008 09:57 PM|gunteman|LINK
It's unfortunately not that easy. Windows C++ applications (unless they're written in Managed C++ in Visual Studio) are native Win32 applications which run without the .NET framework, and more importantly, they run unmanaged, without the controlling environment
of the .NET CLR.
It will be hopefully possible to migrate the application, first to VS C++, then maybe to Managed C++ and in the end C#, but it will involve A LOT of manual work. The environments are so very, very different.
Jan 30, 2008 10:43 PM|David Anton|LINK
The demo edition of our C++ to C# Converter product is free and will convert up to 100 lines at a time.
Also, there is an online C++ to C# converter at
In both cases, automated conversion of C++ code to any other language will leave a lot of manual work for you to do. C++ is vastly more complex than every other language out there - our converter attempts to handle all the syntax issues (no small task)
for native C++, Managed C++, and C++/CLI, but does not convert any framework or library references - i.e., it won't attempt to convert MFC or STL references.