Game Development Community

Conversion Utility from VB 6.0 to C++?

by Jeffrey Richardson · in Technical Issues · 04/22/2008 (3:45 pm) · 1 replies

What is the best recommended (free?) utility to convert VB 6.0 source code to C++?

Alternatively, can Torque 2D Game Builder utilize VB 6.0 source coding?

(I'm a Newbie...sorry for the simple questions)

In general, what is the least painful method of converting VB 6.0 to C++, other than manually?

THANKS!

About the author

Recent Threads


#1
04/23/2008 (6:18 am)
The best would be hiring or working with a programmer who knows both and convert the code. While I've seen code converters, at best they will only work if there is an exact 1:1 relationship with all libraries and frameworks in *both* languages. If it uses the .NET CLI, it is a lot easier, but since you are looking at 6.0, it is much, much more difficult as there are a number of areas where there is not really a 1:1 conversion.

You may be able to compile your VB code to a DLL and hook into it using TGB.

But for such antiquated code as VB6, it will be largely a manual process. Even if you find a converter, you will spend a ton of time attempting to get it to work in a similar fashion and most likely end up rewriting major portions of the code regardless.