www.digitalmars.com         C & C++   DMDScript  

D - [BUG] GDI leak in winsamp.d

Change the SelectObject(dc, old); line to DeleteObject(SelectObject(dc, old));
Add BOOL DeleteObject(HGDIOBJ); to the exports of windows.d.

Reverse my username to email me.
Apr 10 2004