Re: DIB section problem

2006-04-20 Thread Stefan Dösinger
Forget about that, as AJ told me on irc, ddraw(and in the same way my code) used gdi incorrectly by calling an unofficial function. pgpnot7rOET56.pgp Description: PGP signature

DIB section problem

2006-04-20 Thread Stefan Dösinger
Hello, While working on an implementation for IWineD3DSurface::GetDC and IWineD3DSurface::ReleaseDC, I think I stubled accross a bug in the DIB code. It appears to me that the memory of the DIB section isn't unprotected correctly when the dib section is destroyed. I have pasted my code here: ht