Hi,
In my new project I want to use a existing C C++ functions . For that I would need to add the C/C++ dlls to C# project.
My C/C++ projects is of type UnManaged and it is not a COM Project. I have seen few articles after from MSDN and tried:
[DllImport("user32.dll", EntryPoint="MessageBoxA")]
But I am not sure Where should I place the user32.dll
or my.dll
. Do I need to place my dll in GAC or in some other physical folder.
If that is going to be a physical folder then , Don't I need to use either relative or absolute path?
Also read few articles talking about porting the C++ dlls using InterOp but not quite sure how to start with.