Reputation: 249
At the moment, I am working in a C++ environment. There are many in house programs, SDKs, and DLLs. What I want to know is, moving forward, would I be able to wrap that code into something C# could use? I'm still learning about wrapping code for other languages, and haven't found a decent source for going from C++ to C#.
Upvotes: 0
Views: 64
Reputation: 8551
Microsoft has extensions to C++ called C++/CLI that make it easier to build wrappers for .NET languages.
Upvotes: 0
Reputation: 181745
As far as cross-language interop goes, the C#-C++ interop is actually quite usable. Check out the official documentation. "Managed" is Microsoft-speak for everything in the .NET runtime, i.e. your C# code; "unmanaged" or "native" means your C++ code.
Upvotes: 2