You need:
1- Create a new universal DLL for Windows using C ++ / CX
2- Add a new ref class to it. This class will be the wrapper for your C ++ code.
3- C ++ method call from this new class
4- Add a link to the new DLL from your C # project and from there use the C ++ / CX shell class.
source share