How could I interrupt SMS sending process?
Submitted by yoorix on Sat, 2006-05-13 21:43.
Hello. I'm writing multithreaded application and use TGSM component in it. Sometimes I need to close my application immediately and gracefully while GSM component is trying to send SMS. When I invoke GSM.Close, it closes COM port, closes connection, but it takes some time to raise error. Obviously, I can catch that error, but I want to avoid waisting time on it. I realize, that component is waiting for answer from Com device, but what should I do to close GSM component immediately? Is it possible or not?
Thanks,
Max