Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Direct2D: Release Objects from a target

0 views
Skip to first unread message

docschnipp

unread,
Nov 7, 2009, 4:40:01 PM11/7/09
to
Repost as question:

"docschnipp" wrote:

> Hi,
>
> First-chance exception at 0xfeeefeee in graphics.exe: 0xC0000005: Access
> violation.
>

I think I know what the problem is: I ->Release()'d an object (a brush) that
was tied to the Target. I thought, by calling "Release()" it would also get
away from the Target, but obviously it is not.

Is there a way to remove an object like a brush or a bitmap from a
RenderTarget?
Or must I keep them all in it as long the target lives?

thanks
doc


0 new messages