Quote Originally Posted by The trick View Post
What's the scenario requires that? When you create a thread you specify the copy which you can change as you prefer.
Dear Trick,

Thankyou for the clarification.
But suppose we change a thread's vbheader copy to apartment model and then try to close the application the application fails to close since the exe process is still running as can be seen in task manager.
Can you provide me code to close application properly by terminating any present hidden COM msg loop running so that it is not still running in Task manager after closing.

regards,
JSVenu