CreateCompatibleDC fails
  Home FAQ Contact Sign in
Search only in:
microsoft.public.vc.language
 
Advanced search
MATCHING GROUPS



more...
Group Profile...
POPULAR GROUPS

more...

found 1 articles for 0.001 sec
Re: D3D9Ex and D3DXCreateText     

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, ...
Show full article (1.13Kb) · Show article thread