How to get SMS.DLL for Window Mobile platform.
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.
解答
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
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.
所有回覆
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
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.
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 ?
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.
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.
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.

