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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top