hi
I have a program that sends sms with kylix component. it works nice but Immediately it hangs.
i'm using this code for send sms:
Thread s = new Thread(new ThreadStart(send));
s.Start();
Thread.Sleep(1000);
s.Abort();
public void send()
{
long ls= axKylixSMS.SendSMS(mynum, mytext);
if(ls < 1)
MessageBox.Show("your message has not been sent");
else
MessageBox.Show("your message has been sent");
}
how can i prevent from freeze the program when i send sms with kylix?
please help me!
thanks in advance
What I have tried:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,