I created a C ++ dll (say MyC ++ Dll.dll) and I have a header file (MyC ++ Dll.h). MyC ++ Dll.h contains a type definition.
I want to import this DLL into the C # application that I am creating.
I can import dll using
[DllImport ("My ++ dll.dll")] static extern func ();
But I cannot import / include a header file (MyC ++ Dll.h) into a C # application that contains a type definition.
Please suggest a way to create this C # application successfully.
source
share