views:

68

answers:

1

I am using PostThreadMessage() & GetMessage() for sending data to the queue and reading data from the queue.But i want to check whether that data is in queue or not.can u tell how it will possible to check that which i was sending by PostThreadMessage().

+2  A: 

Look at PeekMessage with flag PM_NOREMOVE

Dewfy
is there any sample are there?can u send me pls
http://msdn.microsoft.com/en-us/library/ms644928(VS.85).aspx
Dewfy