http://bugs.winehq.org/show_bug.cgi?id=14935
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-21 08:43:23 --- as far i as i can see there's an unusual try of closing the same key twice , so the last try returns ERROR_INVALID_HANDLE. Of course I don't know if that's the problem, but you could try hack below if that's the reason why the program aborts. ( Is this a very old game btw?)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c index 9ce3da0..dc7988a 100644 --- a/dlls/advapi32/registry.c +++ b/dlls/advapi32/registry.c @@ -915,7 +915,8 @@ LSTATUS WINAPI RegCloseKey( HKEY hkey ) { if (!hkey) return ERROR_INVALID_HANDLE; if (hkey >= (HKEY)0x80000000) return ERROR_SUCCESS; - return RtlNtStatusToDosError( NtClose( hkey ) ); + RtlNtStatusToDosError( NtClose( hkey )); + return 0; }