The following topics are the abstracts for the ATL general samples.
Demonstrates the use of ICollectionOnSTLImpl and CComEnumOnSTL, and the implementation of custom copy policy classes.
Demonstrates a simple control container.
Demonstrates the use of IDispEventImpl and IDispEventSimpleImpl to handle events fired by Microsoft Word.
Demonstrates the implementation of a property page using IPropertyPageImpl.
Shows how to create and maintain SAFEARRAYs using CComSafeArray; also how to pass SAFEARRAYs from a component to script.
Demonstrates using CComAutoThreadModule Class.
Implements a tearoff interface — a collection/enumeration of BSTRs.
Implements a collection/enumeration of objects using ATL and the Standard C++ Library.
Shows how to use a custom memory allocator for CStringT to improve performance in a multithreaded application.
Demonstrates using a connection point on dispatch interfaces.
Implements an EXE server that does not have any user interface.