Project Setup and Hello World - P/INVOKE WITH C# AND C++ TUTORIAL #1

Описание к видео Project Setup and Hello World - P/INVOKE WITH C# AND C++ TUTORIAL #1

I demonstrate a simple Hello World application using P/Invoke inter-op. First, I expose a C++ function in a dynamic link library (DLL). Then, I import the C++ function from the DLL into a C# console application and call it. Lastly, I demonstrate how you can automatically output your dll and console application to the same directory to speed up development.

C++ is powerful. Whether you need to manage resources more efficiently or you need to use a library that is only available in C++, there are times where you must use C++ in your C# application. P/Invoke is a powerful way to accomplish this. In this series, I will be demonstrating the power of P/Invoke inter-op and showing how you can implement P/Invokes into your own application.

SOURCE CODE: https://github.com/SingletonSean/P-In...

FULL PLAYLIST:    • P/Invoke  

Комментарии

Информация по комментариям в разработке