Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

posting a message for main function thread

$
0
0

Hi,

I am trying to post a message to windows message queue to be retrieved from the main funtion. Message is posted in a thread that is defined in a class. In this thread I want to post a message using postThraedMessage(). This message is de-queued in main function.How to I get the thread ID for main function? when I get this what is the best method this send this to the thread that is defined in a class?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>