Hello,
I've just noticed that Alexander had put patch that eliminates crashing on CopyImage. The way, he solved this problem is simple and genious. But I've found, that copied image can't be drawed to DC. So I insist, that CopyImage should be rewrited. The reasons are: - GetBitmapBits function loses color table information, stored with DIB. - New created image should be easy selectable in DC, but it must have DIB section and associated created PhysicalPixmap.
In attachment you can find my (next) view on that function.
-- Cyril Margorin