Hi, I am getting this error. when i am importing a dll from c++ appliaction.
in my C# code i am importing this dll like this
[DllImport("Assemble.dll", EntryPoint = "Settpdu")]
static extern void Settpdu(byte[] VALUE);
in my C++ code i am exporting this function like this
extern "C" __declspec(dllexport) void Settpdu(BYTE * VALUE);
but once i am running this i am getting exception like.
if any one please help me? what is the problem?