DC lock in CreateDIBitmap
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Aug 16 17:55:01 CDT 2001
>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.com> writes:
Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
>> CreateDIBitmap is called with the HDC lock hold, and when the
>> (fColor) clause is true, CreateDCA() checks that the lock is not
>> hold. A laymans approach to release hdc before CreateDCA() and reopen
>> it afterwards resulted in this report asr startup, with no visual
>> output:
Alexandre> I don't think we should be using CreateDC at all in
Alexandre> CreateDIBitmap. Could you try this?
The patch works as expected.
Thanks
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list