views:

65

answers:

4

Is there any available tool for converting variable and loops declarations from VB.NET to C++?

Thanks in advance

A: 

Not sure about C++ exactly, but there's a conversion tool which would convert to C# which would be close-ish - though you won't have access to .net framework-specific methods in C++ (unless you're using C++ .Net).

http://www.developerfusion.com/tools/convert/vb-to-csharp/

mdresser
A: 

I'd really doubt it. Unlike VB->C# conversion, VB is a entirely different beast that C++. You don't want to convert VB to C++, you'll end up with a mess of a program.

Rewrite your code in C++ using standard C++ conventions.

Judah Himango
+1  A: 

If you're talking about C++/CLI then you may consider using Reflector.NET to convert VB.NET to C++/CLI. If you're talking about managed/unmanaged bridge then .net framework does that for you (marshalling).

kubal5003
A: 

I think wordpad.exe will do it for you.

Noah Roberts
How much shall I pay you for typping on wordpad for me? :)
Novemberland