WICViewerD2D throws exception in VS 2022 (64 bit) 17.5.3
grelf-net opened this issue · 1 comments
grelf-net commented
Crashes because it cannot create ID2D1HwndRenderTarget *m_pRT;
vasilich-tregub commented
Simon Mourier discussed this bug, and also with respect to WIC samples: #255. Change PtrToUlong(pThis) in WICViewerD2D, line 353 to a standard-compliant cast reinterpret_cast<LONG_PTR>(pThis).