S
Safiiru no Baka
The code will explain better than I can:
THE DDL:
===============================================
extern "C" __declspec(dllexport) int Scratch()
{
return 13;
}
===============================================
THE APP:
===============================================
[DllImport("mydll.dll", SetLastError=true)]
private static extern int Scratch();
===============================================
The DLL has been compiled using eVC 4.0 and I included it in the
project using "Add Existing Item". I'm testing this on emulator
version 4.1.0. The DLL properly shows itself in the same folder as the
EXE. I'm getting MissingMethodException and I'm stumped... please
help.
THE DDL:
===============================================
extern "C" __declspec(dllexport) int Scratch()
{
return 13;
}
===============================================
THE APP:
===============================================
[DllImport("mydll.dll", SetLastError=true)]
private static extern int Scratch();
===============================================
The DLL has been compiled using eVC 4.0 and I included it in the
project using "Add Existing Item". I'm testing this on emulator
version 4.1.0. The DLL properly shows itself in the same folder as the
EXE. I'm getting MissingMethodException and I'm stumped... please
help.