Hi, everyone,
We need help to find out the process of debugging the C++ add-in visual studio. Currently, we are using C# add-in. For our latest work, we need to debug to C++ add-in and convert them into C# add-in. Anyone can suggest how to perform this translation.
Currently, we are thinking of used wrapper class for the conversion of C++ to C# but now we are not good in C++ so is there any tool that directly converts the C++ code into wrapper class?
Thanks for your time consideration.
Regards,
Vijay.
SolidworksApi/macros
Thanks, Mario for this tool. Previously I also used the same tool but currently, c++ code is too large (More than 10k line) and undistributed behavior so directly conversion is not possible.
We are looking wrapper class or P-Invoke type solution.
Thanks.
Hi,
You don't have to convert your C++ code into C# just because you are not able to "debug" it.
Just create a new C# project from onwards and reference the C++ project to it in VS.
Apart from that if you want to debug your C++ code then check option as shown in the below image.
This option you can find in the C# project's property -> Debug.
I hope this will help you in debugging your c++ code.
Thanks & Regards
Prashant Baher
Maybe this helps?
C++ to C# Converter