I am trying to use a dll written in C++ in a C# project. Here there the method used to import the dll:
[DllImport("MyDLL.dll", EntryPoint = "MyFunction", CallingConvention =CallingConvention.StdCall)]
public static extern int MyFunction(int a, int b);
I would like to create a folder in the solution directory named MyDLLs that will contain MyDLL.dll file, how could I point to this folder dynamically??
Thanks Fabio