Author: Dr Pizza
Date: Feb 2, 2007 13:31
...when using D3D9Ex... Then why is a piece of code that works with D3D9 failing with D3D9Ex with D3DERR_INVALIDCALL, and why is the debug runtime emitting the message I ...(ON_BLOCK_EXIT is Andrei Alexandrescu's ScopeGuard): std::wstring compact_caption_text(L"Some text"); HDC dc(::CreateCompatibleDC(NULL)); ON_BLOCK_EXIT(&::DeleteDC, dc); HFONT font(::CreateFontW(0, 0, 0, 0, FW_NORMAL, ...
|