How to convert vb6 to visual c ++ native code?

We have a client who wants to convert a bunch of VB6 projects into their own VC ++ code. I would like to know if there are any tools for such a conversion.

We tried http://vbto.net/ , which converts, but generates tons of compilation errors. The tool creates all cpp projects as "exe", while many of the original VB6 projects are "activex dll".

How does the VB6 project map to the VC ++ project? For example, does "activex dll" display a vC ++ ATL project? What should we pay attention to? If you can share your experience, we will be very grateful.

(yes, our first answer was to offer a conversion to VB.NET/C#, but the program should run on computers on which the .NET framework will not be installed, and also calls methods in kernel32.dll)

+3
source share
2 answers

You can not. maybe you can convert vb6 code to vb.net. then you can easily convert it to C # or managed C ++ (all .net langs compiles to msil, so it can be converted to another .net lang easily using a reflector, etc.)

-1
source

, , . . , ?.

DMS- VB6 Visual ++ , VB6 Visual ++.

- , ; langauge, . , DLL, .exe, . , - , , 1000-2000; . ( . ).

, " ". ( , (, , ) ..). .

-1

Source: https://habr.com/ru/post/1769243/


All Articles