المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : PostThreadMessage does not work sometimes



C++ Programming
09-23-2011, 03:40 PM
Hi,

I am using PostThreadMessage & PostMessage to post messages on Thread and Windows respectively. It works fine in most of cases but when there is a high frequency of posting messages then sometimes it misses some messages. I mean message posts successfully but MessageHandler is not called. If I sent 1000 messages then message handler gets call only 990 or 980 times. Can anyone suggest something for this problem? I am too tired now http://www.barakasoft.com/script/Forums/Images/smiley_snore.gif

Thanks,
Rahul Kulshreshtha