If I create an in-proc Apartment threaded COM Object from an MTA, COM should create a seperate STA thread and create the object in that thread. Is n't it? If so,in this case who will provide the message loop for the newly created STA thread?
ReplyOriginally posted by: Tushar
Good Article. I still have one question regarding STA. Where and when to call the MessageLoop stuff?
ReplyOriginally posted by: Gavriloaie Andrei
Tx, you've illuminated me!!!
ReplyOriginally posted by: Ramamurthy Kumar
Excellent and clear description. I have read so many articles about COM, but this one a very precise and simple.
Originally posted by: Shrinivas Jadhav
Excellent Article. Thank You very much!
ReplyOriginally posted by: SJ
One of the good articles I have seen.
Reply
Originally posted by: BK Pradeep
Hi,
This article beautifully explained all the aspects of the Threading models.Even though am a Newbie i could understand concepts very clearly.My sincere thanks to you.
--Pradeep
Reply
Originally posted by: Shahid Bandarkar
Best Aricle on threads for COM. Each line is full of knowledge.
Originally posted by: Levon Hayrapetyan
What happens if thread creates an object with threading model "Single" and there is no STA in process at all (i.e. all threads are in single MTA)? Which thread will control calls to that object?
In general, is it possible to find out in which appartment object or thread is? Especially when Threading model of an object is "Both".
ReplyOriginally posted by: Penina
How does the different types of appartments affect the writing and using of COM Controls?
Thank you.
Reply