Re: LockDIBSection problem

2005-05-08 Thread Rein Klazes
On 06 May 2005 16:01:06 +0200, you wrote: > Rein Klazes <[EMAIL PROTECTED]> writes: > > > I managed to fixed it in two ways: > > > > 1. put a > > X11DRV_CoerceDIBSection( physDevDst, DIB_Status_InSync, FALSE ); > > at the end of X11DRV_BitBlt. This probably defeats the whole purpose of > >

Re: LockDIBSection problem

2005-05-06 Thread Alexandre Julliard
Rein Klazes <[EMAIL PROTECTED]> writes: > I managed to fixed it in two ways: > > 1. put a > X11DRV_CoerceDIBSection( physDevDst, DIB_Status_InSync, FALSE ); > at the end of X11DRV_BitBlt. This probably defeats the whole purpose of > these protections so: > > 2. Add a "IsBadReadPtr( buffer,

LockDIBSection problem

2005-05-05 Thread Rein Klazes
Hi, Here is another problem in BigJig a jigsaw puzzle game (free download at www.lenagames.com). The program calls BitBlt with destination an in memory DIB. Inside BitBlt, the destination bits are set to PAGE_NOACCESS: | 0009:Call kernel32.VirtualProtect(727f,00123324,0001,77a5f7bc) ret