[Bug 46266] tzres is constantly being loaded/ unloaded when TimeZone information is queried.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 17 17:31:41 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=46266

--- Comment #13 from Alistair Leslie-Hughes <leslie_alistair at hotmail.com> ---
Created attachment 63053
  --> https://bugs.winehq.org/attachment.cgi?id=63053
Hack to make it work.

There is a relay snippet of a call that doesn't need the MUI strings either.

0097:Call msvcr120._time32(00000000) ret=1f246d9d
0097:Call KERNEL32.GetTimeZoneInformation(09e291f4) ret=f69b47ad
0097:Call advapi32.RegLoadMUIStringW(00000b14,7b49ab70 L"MUI_Std",09e28fb4
L"@tzres.dll,-30368",00000040,00000000,00000000,00000000) ret=7b47a
d88
0097:Ret  advapi32.RegLoadMUIStringW() retval=00000000 ret=7b47ad88
0097:Call advapi32.RegLoadMUIStringW(00000b14,7b49ab60 L"MUI_Dlt",09e29008
L"@tzres.dll,-30369",00000040,00000000,00000000,00000000) ret=7b47ad88
0097:Ret  advapi32.RegLoadMUIStringW() retval=00000000 ret=7b47ad88
0097:Ret  KERNEL32.GetTimeZoneInformation() retval=00000002 ret=f69b47ad
0097:Call KERNEL32.GetSystemTimeAsFileTime(09e291ec) ret=f69b47c0
0097:Ret  KERNEL32.GetSystemTimeAsFileTime() retval=01d4965d ret=f69b47c0
0097:Ret  msvcr120._time32() retval=5c182cbc ret=1f246d9d

That attached patch makes it work for me once again.  This is a just a copy of
the functions from ntdll.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list