software you can take with you

'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

Last post 12-30-2011 6:11 PM by alanjmcf. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-19-2011 2:54 PM

    • ASus
    • Not Ranked
    • Joined on 12-19-2011
    • Posts 2

    'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

    Hello all,

    I am writing the program for Windows CE 5.0 device and deployng C# code from Visual Studio 2008. When I am trying to debug code via usb connection I am getting the error even if then I can connect to other device from my Windows CE 5.0 device:

    32feet.NET: 'InTheHand.Net.Personal, Version=3.2.609.0, Culture=neutral'

    versions: '3.2.609.0' and '3.2.0609.0'.

    Calling BSC_Initialize with:HCI_DriverInformation__HCI_COMMDriverInformation COMM, 32, 6, 57600, UART_RTS_CTS, 500, 115200, 'BTS'.

    A first chance exception of type 'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

    If I am building release version and just deploy it to the device everything is OK, no error during building and deployment....

    Do you know what is the problem? I am using InTheHead.Net.Personal.dll version 3.2.609.0 from the 32feet.NET 2.3 download....

    And more:

    when we are trying to load our application (which is using InTheHead.Net.Personal.dll version 3.2.609.0) on device with some stripped down version of Windows CE 5.0 (no shell is running, loading just our application + some other windows dlls, that was working previously with the different bluetooth device not using InTheHand) it's getting the error:

    MissingMethodException File or Assembly name

    ‘InTheHand.Net.Personal’ Version=3.2.609.0, culture=neutral, publicKeyToken=EA38CAA273134499’, 

    or one of its dependencies was not found

     

    So it seems like InTheHand.Net.Personal.dll is using some windows dlls we are not aware of - could somebody tell us what dependencies of this library is?

    I found out that I have exception when trying to use BSC_Initialize() from SS1BTPS.dll.

    I don't have this dll in my Windows CE 5.0 - so where can I find it?

    Thanks a lot the the help.

  • 12-29-2011 5:04 PM In reply to

    Re: 'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

    [Sorry your message was stuck in moderation -- communityserver seems to do that randomly...]

    Hope you made progress.  We support various Bluetooth stacks: Microsoft, Broadcom/Widcomm, Bluetopia etc.  We try to load them one-by-one.  Obviously an error occur if try to load the stack and it is not present (i.e. the P/Invoke error you see since your device doesn't have Bluetopia).

    In your case I presume you have your debugger configured to stop on ever exception.  Just do Continue (tap F5 or whatever) and the exception will be handler and the rest of start-up continue...

  • 12-30-2011 9:08 AM In reply to

    • ASus
    • Not Ranked
    • Joined on 12-19-2011
    • Posts 2

    Re: 'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

    Thanks for the reply!

    I figured out that it's trying to use Bluetopia as a first choice so if we just use Socket factory as the first choice then we don't need to handle this exception....

    But maybe you can help with other problem we still have:

    when we are using InTheHand.Net.Personal.dll and MS Bluetooth stack on our Windows Ce 5.0 device in some windows application then everything is OK - can connect other device, send/recieve data, etc... But when we running the same application in special mode (building image for the device with just one application, no shell is running) then during connecting/dicsonnection/recieving data we randomly have native exception that was never seen before:

    PC=03fc3844(coredll.dll+0x00053844) RA=02d53b18(sqlceqp30.dll+0x00013b18) BVA=0e000001

    Do you have any idea why it's happening? Does some service needs to be run to support MS stack?

    Thanks a lot for your help.

     

  • 12-30-2011 6:11 PM In reply to

    Re: 'System.MissingMethodException' occurred in InTheHand.Net.Personal.dll

    Don't know, sorry.  I presume you have access to the full debugger symbols, with them hopefully it will be able to tell you the real function in platform code where the crash occurs.
Page 1 of 1 (4 items)
Copyright © 2001-2013 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting