SAMPLE: ATLCPImplMT encapsulates ATL event firing across COM apartments (280512)
The information in this article applies to:
- The Microsoft Active Template Library (ATL) 3.0
This article was previously published under Q280512 SUMMARY ATL-based ActiveX COM objects (including Automation objects
and ActiveX controls) typically fire events from the same thread in which they
were created.
Sometimes it is desirable to start secondary threads in
the COM object that fire events to the container. ATLCPImplMT.h provides an
enhanced implementation of the ATL IConnectionPointImpl class, IConnectionPointImplMT, that provides this capability.
Because IConnectionPointImplMT uses the Global Interface Table, it requires Windows NT 4.0
Service Pack 3 or later, or Windows 95 (or later) with DCOM version 1.1 or
later. REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
157437
Fireev.exe fires events from a
second thread
196026 PRB: Event in second thread causes IPF or GPF
Modification Type: | Minor | Last Reviewed: | 8/10/2004 |
---|
Keywords: | kbdocerr kbfile kbQFE kbSample KB280512 kbAudDeveloper |
---|
|