Files
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

6 lines
254 B
C++

// atlimpl.cpp - ATL 3 programs include this once, for the code of
// atlbase.h. Here that code is all in the headers, so it is empty.
//
// Part of clang-retro MFC, an independent implementation of the MFC API.
// SPDX-License-Identifier: AGPL-3.0-only