I have an exported method:
[DllExport("Start", CallingConvention = CallingConvention.Cdecl)]public static bool Start(IntPtr hwndMain){return true;}
The exe will find this without problems, but as soon as I add any DllImport I get this error message:
"The procedure entry point Start could not be located in the dynamic link library."
I have an exported method:
[DllExport("Start", CallingConvention = CallingConvention.Cdecl)]
public static bool Start(IntPtr hwndMain)
{
return true;
}
The exe will find this without problems, but as soon as I add any DllImport I get this error message: "The procedure entry point Start could not be located in the dynamic link library."
Is that expected ?