Soas,
This is a known problem with the TransparentBlt call. It leaks memory in win9x (OK in NT, 2K and XP I think). Go to MSDN and search for TransparentBlt. You should find there official acknowledgement of this bug and, I think, a link to guidance about using BitBlt to draw 'transparent'...