message pump code for COM STA
For message pump code for COM STA, my question is, we just need to copy and past the following code to STA owner thread, no need to implement any functions to handle msg (e.g. hidden window message handler)?
(I think no need and I think COM Runtime will plug-in a message handler for the hidden window, to process the msg and call related function automatically?)
If all the message pump code are common, why not COM automatically generates the code for all STA? Because some STA has the requirement of not handling in-coming calls from other apartment?
thanks in advance,
|All times are GMT. The time now is 07:14 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.