C++ Code To C#.net Code

Posted by Naraayanan under C# on 3/1/2012 | Points: 10 | Views : 4073 | Status : [Member] | Replies : 3
Hi All,
How to Convert a C++ Code to C#.net Code ?Any tool available in the net.Please send the link.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/



Responses

Posted by: Hmanjarawala on: 3/1/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,
There is no direct way to do this, but still you can do one thing..
generate wrapper class for your C++ classes or component and then use that Wrapper class in .Net
for more information follow url
http://www.codeproject.com/Articles/4771/A-Managed-C-Wrapper-Around-the-Windows-XP-Theme-AP

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 3/1/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
There is no way you can convert a C++ app into C#. The Problem here is C# is not like C++, the syntax might look the same somewhere , but it does not work the same.

You need to understand the functionality that is written in C++ and then rewrite it in C# , the thing here is that you will have a challenge if you cant read C++ Code. but Telerik Created a VB.NET to C# and virsa versa i am sure there are other tools that can do that like these

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

Thank you for posting at Dotnetfunda
[Administrator]

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 3/1/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
Thanks for your reply.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response