mirror of
https://github.com/clang-retro/mfc.git
synced 2026-11-28 13:19:26 -08:00
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
6 lines
254 B
C++
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
|