I have created a C++ dll ( let say , MyC++Dll.dll) and I have a header file ( MyC++Dll.h ). MyC++Dll.h contains the types definition .
I want to import this dll in C# application I am creating .
I am able to import the dll using
[DllImport("MyC++Dll.dll")] static extern func();
But I am not able to import/include the header file (MyC++Dll.h) in the C# application which contains the types definition .
Please suggest a way to build this C# application successfully .