G
Guest
Hi All,
I have a dll built under PB. I want to call a function in the dll from C#
so...
[DllImport("EventMgr.dll")]
public static extern bool EventApiInit();
....
bool ret = EventApiInit();
(all within the same class def.)
However when the call runs I always get:
MissingMethodException was unhandled
Can't find an Entry Point 'EventApiInit' in a PInvoke 'EventMgr.dll'.
I've copied my dll to Windows and my app's folder on the CE device with the
same end result. Any assistance as to how to make this work would be greatly
appreciated.
Thanks in advance,
Richard
I have a dll built under PB. I want to call a function in the dll from C#
so...
[DllImport("EventMgr.dll")]
public static extern bool EventApiInit();
....
bool ret = EventApiInit();
(all within the same class def.)
However when the call runs I always get:
MissingMethodException was unhandled
Can't find an Entry Point 'EventApiInit' in a PInvoke 'EventMgr.dll'.
I've copied my dll to Windows and my app's folder on the CE device with the
same end result. Any assistance as to how to make this work would be greatly
appreciated.
Thanks in advance,
Richard