Commit Graph
1 Commits
Author SHA1 Message Date
Claude 489bc28649 Add ATL for COM servers: atlbase.h and atlcom.h
The ATL a COM server is written with: CComModule (ATL 3, with an
object map) and CAtlDllModuleT/CAtlExeModuleT (ATL 7, with
OBJECT_ENTRY_AUTO); the registrar that runs .rgs scripts from REGISTRY
resources, and CRegKey; CComObjectRootEx and the threading models; the
object classes (CComObject and its NoLock, Cached, Global, Stack,
aggregated, poly and tear-off forms); BEGIN_COM_MAP and its entries;
creators, class factories (licensed and singleton too) and CComCoClass
with Error; IDispatchImpl over a type library, ISupportErrorInfoImpl
and IProvideClassInfo2Impl; connection points; CComEnum and
CComEnumOnSTL; IObjectWithSiteImpl and IObjectSafetyImpl.

atltest drives a server DLL written with them (ATL 3 in the ANSI
build, ATL 7 in the Unicode one) through COM: registration and
unregistration, vtable and IDispatch calls, rich errors, events,
tear-offs, aggregation, a singleton and unloading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-17 17:27:48 +00:00