Direct2D "Attempt to access invalid address error" on EndDraw

0

Users of our application experience intermittent bug where ID2D1RenderTarget::EndDraw returns an HRRESULT 0x800701E7 which means "Attempt to access invalid address error". Using EndDraw tags we did pinned down the drawing operation that is causing the error using which is simple:

context->DrawImage(bitmap, offsetPoint, imageRectangle);

The problem is that we are not able to reproduce the error even if we are really trying by deleting the bitmap after drawing operation. It looks like Direct2D maintains it's own copy for drawing. Does anybody experience the same error and know how to cause it?

c++
direct2d
asked on Stack Overflow Jan 18, 2017 by pdondziak

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0