Tool to auto generate C++\CLI wrappers for native functions

Feb 3, 2010 at 6:01 PM


Is there any tool for auto generating C++\CLI wrappers for native functions?

Basically I want to generate C++\CLI wrappers for native C++ code to be able to access them through C#.



Feb 8, 2010 at 1:57 PM

This tool should do the trick!

Feb 8, 2010 at 2:29 PM

As far as I could make out from the tool description -

"This wrapper tool is very useful for integrating legacy c++ code with .Net assemblies. The tool automatically creates c++ wrapper class source code.
The wrapping classes are integrated into a C++ CLI project and accessed from plain C++ projects. Thus it enables a C++ developer to use the full bandwidth of .Net functionalities in their pure C++ projects."

it generates .Net function wrappers in C++ CLI , which can be accessed from plain C++ projects.

I want to do the other way round, generate C++ CLI wrappers for native C++ functions, so that they are accessible from C# .Net.