Native DLL on PPC2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All

I used those code to import methods from native dll.
It works on WinCE.net 4.2
But when I try it on PPC2003 device. It throw a MissingMethodException.
Please give me a hand.

[DllImport("test.dll", EntryPoint="MyCreate")]
private static extern IntPtr Create ();

endpoint = Create (); <---- error here

Thanks a lot ~!!

Joey
 
P/Invoke service throws MissingMethodException when the entry point
which you specified was not found. Make sure that your "test.dll" and
EntryPoint are exist in the PPC2003. This library could be specific for
WinCE platform or smth.
 
My code is working on Wince.net 4.2 device.
So I think the parameter that I specficed is ok?
Please help. Thanks

Sergey Bogdanov said:
P/Invoke service throws MissingMethodException when the entry point
which you specified was not found. Make sure that your "test.dll" and
EntryPoint are exist in the PPC2003. This library could be specific for
WinCE platform or smth.


Joey said:
Dear All

I used those code to import methods from native dll.
It works on WinCE.net 4.2
But when I try it on PPC2003 device. It throw a MissingMethodException.
Please give me a hand.

[DllImport("test.dll", EntryPoint="MyCreate")]
private static extern IntPtr Create ();

endpoint = Create (); <---- error here

Thanks a lot ~!!

Joey
 
Back
Top