RE: Battlefield 1942 d3d8 crash

2004-09-09 Thread Ann and Jason Edmeades
Hiya, Just an fyi - I installed it and gave it a try. The first problem (the one you mentioned) is easily solved by commenting out the hide and show calls around the setwindowpos. This may be the real fix - The problem is the app has a default window proc which is receiving a window activated mess

RE: Battlefield 1942 d3d8 crash

2004-09-06 Thread Ann and Jason Edmeades
EMAIL PROTECTED] Sent: 06 September 2004 20:38 To: Ann and Jason Edmeades Cc: Wine Devel Subject: Re: Battlefield 1942 d3d8 crash Ann and Jason Edmeades wrote: >Does changing the line 575 (in device.d, dlls/d3d8) to be > >if (ppBackBuffer) IDirect3DSurface8Impl_AddRef((LPDIRECT3DSURFACE8)

Re: Battlefield 1942 d3d8 crash

2004-09-06 Thread Robert Reif
Ann and Jason Edmeades wrote: Does changing the line 575 (in device.d, dlls/d3d8) to be if (ppBackBuffer) IDirect3DSurface8Impl_AddRef((LPDIRECT3DSURFACE8) *ppBackBuffer); make any difference - Looks like the app is doing an odd way to work out how many back buffers there are. Jason Shouldn't th

Re: Battlefield 1942 d3d8 crash

2004-09-06 Thread Ann and Jason Edmeades
Does changing the line 575 (in device.d, dlls/d3d8) to be if (ppBackBuffer) IDirect3DSurface8Impl_AddRef((LPDIRECT3DSURFACE8) *ppBackBuffer); make any difference - Looks like the app is doing an odd way to work out how many back buffers there are. Jason

Battlefield 1942 d3d8 crash

2004-09-06 Thread Robert Reif
I get the following crash when running the Battlefield 1942 single player demo from http://www.3dgamers.com/games/battlefield1942/ fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x40361cd8)->(,0008) trace:d3d:Direct3DCreate8 SDKVersion = dc, Created Direct3D object at 0x40362218 fix