Posted:
Jun 5, 2002 @ 9:59pm
by Kzinti
Nobody decided to strip the header from the BMP to "save memory"...
The memory bitmap format was defined and then they needed some kind of header to save them to files.
Regarding GetDC(0), I find this disturbing =) I will fix this... Of course the DC should be release with "ReleaseDC(0,hdc)".
I guess I (and other people) get away with this because the DC get destroyed when the process exits. Multiple calls to GetDC(0) probably always return the same DC using an internal reference count. It could crash after loading a few thousands images =)