提出问题提出问题
 

已答复How to get SMS.DLL for Window Mobile platform.

  • 2006年12月5日 6:24Kline Chen China 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

        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.

     

     

答案

  • 2006年12月5日 6:42Ilya TumanovMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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

     

  • 2006年12月7日 20:57Ilya TumanovMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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.

全部回复

  • 2006年12月5日 6:42Ilya TumanovMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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

     

  • 2006年12月5日 8:53Kline Chen China 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

        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.

     

  • 2006年12月5日 10:57Kline Chen China 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

           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 ?

  • 2006年12月7日 5:07LuisCabrera 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.

  • 2006年12月7日 7:08Kline Chen China 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

      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.

  • 2006年12月7日 20:57Ilya TumanovMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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.