Commit Graph
1 Commits
Author SHA1 Message Date
Claude 99d7927658 Add connection points and type libraries
Every CCmdTarget now answers IConnectionPointContainer after
EnableConnections, from a connection map of CConnectionPoint members
(BEGIN_CONNECTION_PART, CONNECTION_IID), plus GetConnectionHook and
GetExtraConnectionPoints. AfxConnectionAdvise and AfxConnectionUnadvise
connect sinks with or without a reference.

DECLARE_OLETYPELIB and IMPLEMENT_OLETYPELIB give a class's IDispatch type
information from a registered type library, cached in CTypeLibCache.
AfxOleRegisterTypeLib and AfxOleUnregisterTypeLib register and remove
libraries.

conntest covers both, with a type library it writes itself.

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