locked
Application on storage card giving problem RRS feed

  • Question

  • Hi All,

    I have one windows mobile application and one service.
    Service is loading some dlls from my application.
    I installed application on storage card. Start the service.
    Now, I removed storage card, service is works fine, even if it loads dlls from my application which is on storage card.
    After, I insert storage card again.
    And in my application try to load same dll which is loaded by service.
    Then LoadLibrary() gives me an error 193(Is not a valid application, ERROR_BAD_EXE_FORMAT).
    If I stop service and again load same dll, then it works fine.

    What is the problem in this case?
    Anyone have idea about it, then please help me.

    Regards,
    Pariksheet.
    Thursday, July 23, 2009 6:07 AM

Answers

  • You are not supposed to remove the storage card from the device when the power is on. To prevent potential data loss and application errors, turn the device off before you remove the sd card.  


    Please mark the post that helps you, and unmark that does not. This benefits our community members.
    Monday, July 27, 2009 7:06 AM

All replies

  • Hi,

    Does this problem occur if you don't remove the storage card?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Thursday, July 23, 2009 6:15 AM
  • Hi Paul,

    Thanks for reply.
    No, problem is not occur if I don't remove the storage card.
    This problem is occurred only if I removed storage card.

    Regards,
    Pariksheet.
    Thursday, July 23, 2009 11:02 AM
  • You are not supposed to remove the storage card from the device when the power is on. To prevent potential data loss and application errors, turn the device off before you remove the sd card.  


    Please mark the post that helps you, and unmark that does not. This benefits our community members.
    Monday, July 27, 2009 7:06 AM