开发者

Variable and loops convertion from VB.NET to C++?

开发者 https://www.devze.com 2023-01-05 05:17 出处:网络
Is there any available t开发者_如何学Cool for converting variable and loops declarations from VB.NET to C++?If you\'re talking about C++/CLI then you may consider using Reflector.NET to convert VB.NET

Is there any available t开发者_如何学Cool for converting variable and loops declarations from VB.NET to C++?


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).


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/


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消