9 Feb
2021
9 Feb
'21
3:59 p.m.
Ralf Habacker <ralf.habacker(a)freenet.de> wrote:
+ handle_dib = HeapAlloc( GetProcessHeap(), 0, bm_bits_size + palette_size + sizeof( BITMAPINFOHEADER )) ; + lpbi = (LPBITMAPINFOHEADER)GlobalLock( handle_dib );
GlobalLock() is not needed, probably crashes are caused by this. -- Dmitry.