G
Guest
Hello,
I'm running the 1.1 FW sp 1 on XP sp 2.
I've been trying to plug leaks in our application for a month now, and
while I've reduced the memory leaked (the owned forms leak was a killer), our
power users still consistently encounter crashes from running out of GDI
handles.
I've ran the GDIUsage program from the toolkit, and I've found two bitmaps
that are being leaked for each form opened.
The first, is the form's inherant Icon. It's never being released. It
looks like http://support.microsoft.com/?id=819633 but that is for FW 1.0 sp
2. I can't find a list of what was fixed in 1.1, so I can't confirm if it's
been fixed there.
The second bitmap looks like it is partly a mask of the default icon, with
the second half being a wierd distorted grid.
Can someone tell me if this issue is fixed in 1.1 or not, and if not if
there is a hot fix?
Otherwise, I'll end up doing some really nasty reflection to trick the
system in our base class for forms to release these handles and I'd rather
avoid that hassle if possible.
I'm running the 1.1 FW sp 1 on XP sp 2.
I've been trying to plug leaks in our application for a month now, and
while I've reduced the memory leaked (the owned forms leak was a killer), our
power users still consistently encounter crashes from running out of GDI
handles.
I've ran the GDIUsage program from the toolkit, and I've found two bitmaps
that are being leaked for each form opened.
The first, is the form's inherant Icon. It's never being released. It
looks like http://support.microsoft.com/?id=819633 but that is for FW 1.0 sp
2. I can't find a list of what was fixed in 1.1, so I can't confirm if it's
been fixed there.
The second bitmap looks like it is partly a mask of the default icon, with
the second half being a wierd distorted grid.
Can someone tell me if this issue is fixed in 1.1 or not, and if not if
there is a hot fix?
Otherwise, I'll end up doing some really nasty reflection to trick the
system in our base class for forms to release these handles and I'd rather
avoid that hassle if possible.