Odeslat dotazOdeslat dotaz
 

OdpovědětHow to get SMS.DLL for Window Mobile platform.

  • 5. prosince 2006 6:24Kline Chen China Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     

        Anyone know

        I wrote a windows mobile application for sending SMS message, the application need sms.dll for calling SmsOpen, but an error heppened when it runing in windows mobile emulator, because the SMS.DLL file has not been found in emulator. I have not found it in my host computer, too. Could anyone tell me Where I can download it ?

       (I don't plan to use MAPI.)

        Another question: If I have got the sms.dll, how to build a development environment for sending/receiving sms messages.

        Thank you read these questions.

     

     

Odpovědi

  • 5. prosince 2006 6:42Ilya TumanovMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    This DLL is in ROM on all Windows Mobile Phone devices. You don't need to download or install it.

     

    If there's no such DLL then this device is not capable of sending SMS. Even if you copy this DLL from device which has it won't work because DLL alone is not enough – phone hardware and phone stack are also required and they don’t come with DLL.

     

    Please see this for simulated SMS support on VS 2005 emulator:

     

    http://blogs.msdn.com/barrybo/archive/2005/09/17/469702.aspx

     

  • 7. prosince 2006 20:57Ilya TumanovMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    You could not “plan to use emulator”. Emulator is just for debugging so you can run your application on a real device as soon as application is ready. That real device has to be phone if you planning to use SMS. There's no SMS functionality unless device is a phone.

     

    If you planning to deploy to Pocket PC devices (not a phone edition), you should remove all phone related functionality from your application as it’s not available.

Všechny reakce

  • 5. prosince 2006 6:42Ilya TumanovMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    This DLL is in ROM on all Windows Mobile Phone devices. You don't need to download or install it.

     

    If there's no such DLL then this device is not capable of sending SMS. Even if you copy this DLL from device which has it won't work because DLL alone is not enough – phone hardware and phone stack are also required and they don’t come with DLL.

     

    Please see this for simulated SMS support on VS 2005 emulator:

     

    http://blogs.msdn.com/barrybo/archive/2005/09/17/469702.aspx

     

  • 5. prosince 2006 8:53Kline Chen China Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     

        Thank you very much!

        But Perhaps the method is not for my question. My application is native application, it will call SMS api and SIM api directly, not MAPI. '[Start]->[Messaging]' is not exist, and we have not paid for outlook.

        so, I need to call SmsReadMessage function to receive SMS messages, and call SIM API directly to store messages to SIM card or to handset files.

     

  • 5. prosince 2006 10:57Kline Chen China Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     

           Sorry, I think it is correct that the device is not capable of sending SMS if it has no the 'sms.dll'.

    But my 'windows mobile 5.0 pocket PC emulator' has no sms DLL, and we need to use this platform , is there any other method ?

  • 7. prosince 2006 5:07LuisCabrera Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     

    It looks like you are not using a Phone Emulator.

    Make sure to use either the Pocket PC Phone Edition Emulator, or Smartphone Emulator.

    (Just plain Pocket PC will not contain phone functionality -- including SMS functionality).

    Hope this helps.

  • 7. prosince 2006 7:08Kline Chen China Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     

      Thank you!

      I plan to use windows mobile 5.0 pocket PC emulator, not windows mobile 5.0 pocket PC phone emulator.

      But no SMS functionality in windows mobile 5.0 pocket PC emulator, and the functionality is provided in windows mobile 5.0 pocket PC phone emulator.

  • 7. prosince 2006 20:57Ilya TumanovMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    You could not “plan to use emulator”. Emulator is just for debugging so you can run your application on a real device as soon as application is ready. That real device has to be phone if you planning to use SMS. There's no SMS functionality unless device is a phone.

     

    If you planning to deploy to Pocket PC devices (not a phone edition), you should remove all phone related functionality from your application as it’s not available.