I\'m looking for a code sample which illustrates making cross-threaded COM calls in an ATL COM Server DLL.Know one?
My understanding of STA is that if my thread is running in an STA apartment then I do not have to worry about thread safety and calls to the functions of my thread are automagically queu开发者_如何转开
I\'m trying to use the TimerCallback Delegate mechanism to drive instances of objects from a 3rd party .NET library component on separate threads executing on a 开发者_运维知识库timed basis.
I wonder if someone can help me - I\'ve been programming VB.Net for a long time but have rarely had to do much threading in ASP.Net.