• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 20, 2024, 12:33:01 pm

News:

SMF - Just Installed!


extract a phone number of a SMS

Started by stef2pont, September 26, 2009, 08:13:52 pm

Previous topic - Next topic

stef2pont

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

don't worry.... ;)

F1 key is my great friend !  :P

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

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