Click here to Skip to main content
16,016,500 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear Sir

How to convert project VC++ to C#.Net
any free tools ?
Posted

No.
And it is very, very unlikely to produce good code anyway: C++ is heavily pointer based, where C# restricts the use of pointers to unsafe code only.

It is possible - barely - that you might get away with it if the C++ project is .NET already, and was carefully written - but I wouldn't put any bets on it!

I would do it manually - but even there you are going to have to understand both C++ and C# pretty well!
 
Share this answer
 
Supposing that your VC++ project is not user interface project, you should let that DLL in VC++ old version and the best solution is create a wrapper classes over the C++ classes that you want to extend in C# and .NET.

Here is a MDSN Link[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900