Re: MissingMethodException only on device, not in emulator

From: Matt McGinnis (MattMcGinnis_at_discussions.microsoft.com)
Date: 01/11/05


Date: Tue, 11 Jan 2005 10:39:01 -0800

Thanks Peter.... that was the problem. I have a custom .ini and .bat file
to create my final CABS with. I had copied the .dll that was created to my
main apps project directory, then referenced it in my custom .ini file.
Should have let VS do it's job the first time.

"Peter Foot [MVP]" wrote:

> If you are calling into a native dll you have placed on the device, be aware
> that the CPU architecture will be different to that of the Emulator. The
> Emulator runs on X86 and a Pocket PC 2003 device will use the ARM
> instruction set. You'll need to copy the ARM version of the dll to your
> device - if the dll is present and you know it exports a specific function
> then an incorrect CPU version of the dll is most likely cause.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "Matt McGinnis" <MattMcGinnis@discussions.microsoft.com> wrote in message
> news:8EF9F7D5-B5FD-4A96-A6FA-FF972F838AB2@microsoft.com...
> > in the article:
> > http://www.codeproject.com/netcf/VBPocketPCBitmaps.asp
> > it explains how to load a c# project 'inside' of a VB project as a .dll
> > and
> > call it from VB code. This example uses the C# code found in the MS
> > scribbler demo app to save a bitmap to a file . This method works great
> > when
> > debugging to the 2003 emulator, but when deployed to an actual device, I
> > receive a 'Managed MissingMethodeException' error when I call the code. I
> > have verified that the '.dll is on the device in the application
> > directory.
> > Must I register this .dll or something?
>
>
>



Relevant Pages

  • RE: system.badimageformatexception returned from custom installer
    ... How do you invoke that dll from the customer action? ... The dll is created as a seperate project. ... Action dll by going to the custom actions tab and then by right clicking ... Yes it is an installer class. ...
    (microsoft.public.dotnet.framework)
  • RE: system.badimageformatexception returned from custom installer
    ... which references the dll that contains the custom installer code. ... Would you please provide more detailed information about your custom ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Re: USB Custom Client Driver
    ... I was able to create custom oalioctl dll, from the cloned oalioctl in Public ... then it creates two source files. ... I am trying to implement USB Function Custom Client Driver. ...
    (microsoft.public.windowsce.embedded)
  • Re: Custom Uninstall Question
    ... The CAB configuration file has a parameter for the custom setup dll file. ... The CAB file is copied and executed on the device itself so your custom DLL ... >>> settings that get created post installation. ...
    (microsoft.public.pocketpc.developer)
  • Re: ASP.Net and CustomError Handling
    ... I think you're on the right track but then as stated earlier, the custom dll ... Maybe you need to disable the 404 default handling in IIS. ... Paul maybe you can check the Custom Error tab in IIS on your development ...
    (microsoft.public.dotnet.framework.aspnet)