Program in wine fails during the C-function call setlocale

Questions about Wine on macOS.
Locked
wiseguy
Newbie
Newbie
Posts: 1
Joined: Fri May 18, 2012 5:01 pm

Program in wine fails during the C-function call setlocale

Post by wiseguy »

Hallo,

i want to use a Windows-Program in Wineskin. That Program break the start because of a fail-Return from the ANSI C function call 'setlocale(LC_ALL, "german")'. Because of the Programm has to calculate with prices, it's necessary to use this function. Has anybody an idea how I can make this function call positive? I don't know more about the details, but I asked the windows programmer and he told me that details that i wrote.

Kind Regards
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

As a workaround you might try to install windows runtime libraries using "winetricks vcrun6", "winetricks vcrun2005" or "winetricks vcrun2008", depending on which compiler/library the developer of your app used. You could still file a bug, because if this call works under windows, the builtin function in wine should be able to cope with it, too. Maybe wine expects a different format, in some samples I goggled, a more verbose format like "German_Germany.1252" is used instead of just "german".
Locked