X Error of failed request

2008-03-05 Thread bill lam
Sometimes (about 3 or 4 times in one day) that it just crashed with this message, X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 18 (X_ChangeProperty) Resource id in failed request: 0x443 Serial number of failed request: 1113 Cu

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-29 Thread bill lam
Lei Zhang wrote: > Can you file a bug on bugzilla and provide a sample image / test code > to demonstrate this problem? > Done. Test code is as follows, beware of line wrap. NB. tested on J602 beta / wine 0.9.56 NB. script to demostrate bug in GdipGetImageWidth GdipGetImageHeight NB. ==

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-29 Thread bill lam
James Hawkins wrote: > On Thu, Feb 28, 2008 at 10:07 PM, bill lam <[EMAIL PROTECTED]> wrote: >> I patched platimg to work with negative stride and now it works with wine >> built-in gdiplus. >> >> FYI, native gdiplus gives a top-down bitmap but wine's gdip

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-28 Thread bill lam
I patched platimg to work with negative stride and now it works with wine built-in gdiplus. FYI, native gdiplus gives a top-down bitmap but wine's gdiplus gives a bottom-up. It is not a bug in wine's but might causes compatibility problem.

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-27 Thread bill lam
Dan Kegel wrote: > Where did you report it? I can't find a bug report. not formal report, just post to this forum days ago. > Would you like to file a Wine bug, or should I? Could you please file a Wine bug. It is easier for you to write an equivalent C script to reproduce the bug than I. And I'

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-27 Thread bill lam
Dan Kegel wrote: > What app is this, and what is it about Wine's gdiplus that > makes you need to override it? Does the app crash, > or does it just look bad? If it crashes, what's the crash log? > The app is a package called 'platimg' of J language. I had reported this and I believed that it

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-27 Thread bill lam
Dan Kegel wrote: > Which apps? > What version of comctl32 and gdiplus do they require? I check version of gdiplus from pp viewer 2003 (winetricks) and that from win-xp, they are the same version. I must had use my old version from win-me that caused problem. Sorry for the noise. In current wine

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-26 Thread bill lam
Dan Kegel wrote: > Which apps? > What version of comctl32 and gdiplus do they require? depends.exe show the following info for comctl32 COMCTL32.DLL from win-xp File Ver 5.82.2900.2180 Product Ver 6.0.2900.2180 COMCTL32.DLL from cc580 File Ver 5.80.2614.3600 Product Ver 5.0.2614.3600

Re: New winetricks 20080226: adds dotnet11 verb

2008-02-26 Thread bill lam
Thank you for update. I also notice that the version of comctl32 and gdiplus that installed from winetricks are quite old. I have to manually copy those files from my win-xp to make my application work. Could you also consider revise them? Dan Kegel wrote: > In honor of .net 1.1 installing on

SetPixelFormat broken in 0.9.54

2008-02-25 Thread bill lam
I run a opengl script that worked in 0.9.53 but crashed in 0.9.54 (and 0.9.55) I traced it failed at this line SetPixelFormat hdc;pixfmt;pfd with the following message in console: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed reque

gdiplus: negative stride from dipCreateBitmapFromFile

2008-02-22 Thread bill lam
WHen I read a jpeg file of size about 600x400 pixels using gdiplus like this, GdipCreateBitmapFromFile fn BMP GdipGetImageWidth BMP w GdipGetImageHeight BMP h rt=. 0 0, w, h GdipBitmapLockBits BMP rt ImageLockModeRead PixelFormat32bppARGB DATA 'w h s f p r'=. DATA the member stride inside bitmapd