Author Topic: extract a phone number of a SMS  (Read 1402 times)

stef2pont

  • Newbie
  • *
  • Posts: 20
    • View Profile
extract a phone number of a SMS
« on: September 26, 2009, 11:13:52 pm »
hello,

i use this function to retrieve the SMS, but i dont have the phone number of the sender.

How can i extract this ?

thank's a lot !
C++ Builder 3, 5, 6 and now C++ Builder 2009, runing under Win2000, XP and now Vista

stef2pont

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: extract a phone number of a SMS
« Reply #1 on: September 26, 2009, 11:32:36 pm »
don't worry.... ;)

F1 key is my great friend !  :P

so, i give the code here (i coding with for C++ Builder 2009)

Code: [Select]
Arbre_Hierarchique->Items->AddChild(Arbre_Hierarchique->Items->Item[0],"Message n° " + IntToStr(idSms) + ", téléphone : " + aSms->Phone + " :") ;
just add this :

aSms->Phone for retrieve phone number of the SMS...

  ;D
C++ Builder 3, 5, 6 and now C++ Builder 2009, runing under Win2000, XP and now Vista