locked
SmsSendMessage does hang sometimes RRS feed

  • Question

  • Hi,

    I have used this API to send message from Windows mobile 6.5. 

    Sometime it hangs for 4 to 5 mins and then returns fail. This happens if network is poor or the phone number is some 4, 5 digits or radio is off. Is there any way to come out of this API quickly if it is not able to send message.

    Is this API keep retrying if not able to send a message?

    Answer will be appreciated.

    Thanks


    Shruti

    Saturday, February 9, 2013 10:50 AM

Answers

  • I'm just guessing as I have no experience with this api but did you tried the SMS_OPTION_DELIVERY_NO_RETRY option to prevent the retrying?

    Found at http://msdn.microsoft.com/en-us/library/aa921968.aspx 


    -- Good luck, Erwin Zwart--- Check out my blog: http://GuruCE.com/blog https://twitter.com/GuruCE_Embedded GuruCE Microsoft Embedded Partner http://GuruCE.com Consultancy, training and development services.

    • Proposed as answer by Elegentin Xie Wednesday, February 20, 2013 9:44 AM
    • Marked as answer by Elegentin Xie Wednesday, February 20, 2013 9:44 AM
    Monday, February 11, 2013 9:52 PM