On Sat, 29 Jan 2005 15:40:13 +0100, in gmane.comp.emulators.wine.user you wrote: > Hi, > > I just installed wine and tried to run a chess game (WJChess which is a > freeware). > The game starts, I can access the game menus, the computer starts to > play, when I click on a chess "piece" (I don't know the english word), > it becomes red BUT I can't move it and I get the following message : > > fixme:ole:OLEPictureImpl_get_hPal (0x403bea30)->(0x4069f708): stub > fixme:ole:OLEPictureImpl_get_hPal (0x403aef70)->(0x4069f690): stub > fixme:ole:OleLoadPictureEx > (0x4160edb4,914,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x4069f71c), > partially implemented. > > Do you have any idea to fix the problem. The small attached patch fixes this problem. You need to compile wine from source to use it, or wait for the next release of Wine. Rein. -- Rein Klazes rklazes@xxxxxxxxx
--- wine/dlls/oleaut32/safearray.c 2005-01-04 09:48:03.000000000 +0100 +++ mywine/dlls/oleaut32/safearray.c 2005-01-30 14:17:55.000000000 +0100 @@ -1337,7 +1337,7 @@ HRESULT WINAPI SafeArrayDestroy(SAFEARRA TRACE("(%p)\n", psa); if(!psa) - return E_INVALIDARG; + return S_OK; if(psa->cLocks > 0) return DISP_E_ARRAYISLOCKED;