March 30, 2026
4:25 a.m.
On Mon Mar 30 09:26:21 2026 +0000, Francis De Brabandere wrote:
I was wondering if these functions should be calling `SetThreadLocale` instead. After some more testing it's highly likely Windows calls SetThreadLocale() inside SetLocale() because FormatNumber delegates to oleaut32's VarFormatNumber, which takes no locale parameter. The only way it picks up the locale change from SetLocale is through the thread locale. @jacek any thoughts here?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10504#note_134331