Commit Graph
1 Commits
Author SHA1 Message Date
Claude 75be0af814 Build WTL 10 against this ATL
WTL 10.01 now builds and runs over these headers. What it needed from
ATL: _ATL_VER 0x0800 by default; ATL::Checked (atlchecked.h), the _s
string functions made to throw as ATL's do; ATLVERIFY, ATLENSURE and
ATLTRY; the trace categories (CTraceCategory, atlTraceUI and the
others); _AtlWinModule and _AtlCreateWndData in atlbase.h;
AtlGetCommCtrlVersion; WINSTATE_DESTROYED as CWindowImplRoot's enum;
the "2" window class macros through EnclosingClass::StartWindowProc;
CWindow::ScrollWindowEx with flags first; _DialogSplitHelper; and
atlhost.h from atlwin.h unless _ATL_NO_HOSTING.

tools/fetch-wtl.sh fetches WTL's headers from NuGet, pinned by SHA-256,
and tests/wtltest builds a frame with a command bar, rebar, toolbar,
status bar and splitter, dialogs with DDX and CDialogResize, an
in-memory dialog, a property sheet and a scroll view with them. CI
fetches WTL for it; without the headers the test is skipped. The README
says how to build WTL programs (-fms-compatibility -fgnuc-version=4.2.1,
_MSC_VER around atlapp.h).

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