I want the phone numbers of all the sms within the inbox, currently the entry gives me the contact name and not the number so i added the following link:
2) I have three messages in my inbox.
3) I added the SMShandler.h and .cpp code and the above instructions i followed.
4) then i added the ReadInbox() in it my code crashes at the following line:
const CArrayPtrFlat<CSmsNumber>& array= smsHeader.Recipients();
CSmsNumber* smsNumber = array.At(0); // this line the code crashes as the array count is 0
why the count is zero?
Any suggestions please??