Window discovering

2006-02-22 Thread Cyril Margorin
special settings to run this application? -- Cyril Margorin

Re: StretchDIBits function problem.

2006-02-13 Thread Cyril Margorin
IB_SetImageBits, and useShm field correctly in X11DRV_SetDIBits? Why it was NULL in X11DRV_GetDIBits and is NULL in X11DRV_SetDIBits, with useShm hardcoded to FALSE? -- Cyril Margorin

Re: StretchDIBits function problem.

2006-02-10 Thread Cyril Margorin
e any suggestions? 2006/1/27, Cyril Margorin <[EMAIL PROTECTED]>: > Hello, > > I've discovered, that using of GetDIBits after StretchDIBits doesn't > return correct data. > More then - all pixels that it returns are black. > In attachment the test function. > >

StretchDIBits function problem.

2006-01-26 Thread Cyril Margorin
Hello, I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function. Changelog: Cyril Margorin <[EMAIL PROTECTED]> add test of StretchDIBits()/GetDIBits() bunch to g

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-26 Thread Cyril Margorin
n day or two. Changelog: Cyril Margorin <[EMAIL PROTECTED]> Fix of CopyImage function for non-compatible to ScreenDC bitmaps. Handling of LR_CREATEDIBSECTION flag. user_cursoricon_copyimage.3.patch Description: Binary data

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-23 Thread Cyril Margorin
t. 2006/1/23, Alexandre Julliard <[EMAIL PROTECTED]>: > Cyril Margorin <[EMAIL PROTECTED]> writes: > > > Hello, > > > > Is something wrong with patch that I sent before? > > I wonder that no one tell me anything about it. > > You are creating a D

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-23 Thread Cyril Margorin
Hello, Is something wrong with patch that I sent before? I wonder that no one tell me anything about it. 2006/1/12, Cyril Margorin <[EMAIL PROTECTED]>: > Hello, > > I've just noticed that Alexander had put patch that eliminates > crashing on CopyImage. The way, he solved

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-11 Thread Cyril Margorin
apBits function loses color table information, stored with DIB. - New created image should be easy selectable in DC, but it must have DIB section and associated created PhysicalPixmap. In attachment you can find my (next) view on that function. -- Cyril Margorin user_cursoricon_copyimage.2.pa

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
f ideas how to fix it. The problem is that it takes in to account only physical pixmap (as it was called in x11drv/bitmap.c) but it should take pair physical pixmap/logical bitmap, and make pixels conversion from one to another. -- Cyril Margorin

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
CW function - this block was looked up from same file. It uses static variable screen_dc But may be you are right, GetDC(0) should be used. 2005/12/10, Vitaliy Margolen <[EMAIL PROTECTED]>: > Friday, December 9, 2005, 3:12:23 PM, Cyril Margorin wrote: > > Hello, > > > Could a

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
Unfortunately, problem is that GetBitmapBits function in wine is incorrect, and may causes a buffer overflow, but the GetDIBits isn't. 2005/12/10, Mike McCormack <[EMAIL PROTECTED]>: > Cyril Margorin wrote: > > > Could anyone tell me, why function CopyImage uses > >

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
I'm sorry, previouse diff was made with '-u' flag. In attachment - fixed one. 2005/12/10, Cyril Margorin <[EMAIL PROTECTED]>: > Hello, > > Could anyone tell me, why function CopyImage uses > GetBitmapBits/SetBitmapBits, while MSDN marks these function as > a

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
wrong. In attachment you may find a patch for it. Am I wrong somewhere? 2005/11/25, Cyril Margorin <[EMAIL PROTECTED]>: > Hello, > > During research the crashing application I've found a problem that can > be easily reproduced by test. > (http://www.winehq.org/pipermail/wi

LoadImage (4bpp) / CopyImage() crashing

2005-11-25 Thread Cyril Margorin
Hello, During research the crashing application I've found a problem that can be easily reproduced by test. (http://www.winehq.org/pipermail/wine-patches/2005-November/022384.html) By investigation of problem I've found that original DIB bit depth is 4bpp, Physical pixmap bit depth is (equal to s