2 Commits
Author SHA1 Message Date
Claude 089e349d9d comdeftest: type its own smart pointers on MinGW, skip without comsupp
Older MinGW-w64 comdef.h types the IFooPtr smart pointers only where
__uuidof is the compiler's, and Ubuntu's MinGW-w64 has no
libcomsuppw.a, so the mingw-wine job could not build the test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-27 17:47:03 +00:00
Claude 6ff7d60f89 Add comdef.h's compiler COM support to the portable layer
comutil.h gives _bstr_t, _variant_t and _com_error, comip.h _com_ptr_t
with _com_IIID, and comdef.h the _com_dispatch_ helpers that #import
wrappers call plus the IFooPtr smart pointers for the system's
interfaces. They are header only: what Windows has in comsupp.lib is
inline, and _com_raise_error is weak so a program can replace it.

comdeftest runs the same checks on Windows (against MinGW's headers and
comsupp) and on Linux and macOS (against these).

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