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

AlphaBlend memory leak?

5 views
Skip to first unread message

Johan Stäck

unread,
Dec 31, 2008, 5:34:19 AM12/31/08
to
I have a VB6 program that displays a long series of Time-Lapse jpegs.
In order to improve the transitions between the pictures I tried to fade
between the pictures using AlphaBlend.

The results look good.
However, after some time, the program always crashes after what looks
like a memory/resource leak.

I did some searching and found that evidently it is "well known" that
AlphaBlend has a memory leak.

This raises some questions:
-Does Microsoft know/care, and if so can they be expected to fix it?
-Is there an alternative function that I can call? (Perhaps GDI+ ??)

Tia,

Johan Stäck
Skellefteå
Sweden

Sinna

unread,
Jan 5, 2009, 3:47:35 AM1/5/09
to
As long as you don't provide us some code, we can't figure it out.

Some hints:
* make sure every object created is destroyed when no longer needed.
* watch out for (hidden) references to objects causing the objects not
to unload (as expected)


Sinna

Johan Stäck

unread,
Jan 6, 2009, 7:18:10 AM1/6/09
to
I'm sorry,
I tried to cancel this message.
I was wrong, there *was* indeed a memory leak, but not in AlphaBlend.

/JS

Sinna

unread,
Jan 7, 2009, 2:39:26 AM1/7/09
to

No problem.
Glad you found it...

Sinna

0 new messages