Search code examples
c#c++code-migration

How to use existing C++ code in .NET (C#)


I would like to create a C# project and implement the existing native (C++) code. Does anyone know about any good tutorial about it?

Thanks!


Solution

  • You can use P/Invoke and you can call unmanaged methods. I'll post you some examples: This is a reference to MSDN official documentation. This is a community mantained website with most of the common Windows unmanaged libraries along with method signatures and examples