[Bug 37536] Desura needs implementation of msvcr120.dll.___lc_locale_name_func

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 11 02:19:36 CST 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello Sebastian,

I've seen this one too but didn't report it as bug because it's the result of
native MS C++ runtime binding to native MS C runtime, importing internal
helpers that are not to be used by apps.

It's not game code that imports this internal API.

--- snip ---
...
0023:trace:module:process_attach (L"msvcr120.dll",(nil)) - END
0023:trace:module:MODULE_InitDLL (0xf70000
L"MSVCP120.dll",PROCESS_ATTACH,(nil)) - CALL
0023:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b83af77
ip=7b83af77 tid=0023
0023:trace:seh:raise_exception  info[0]=7d2aaf40
0023:trace:seh:raise_exception  info[1]=7d2ae217
wine: Call from 0x7b83af77 to unimplemented function
msvcr120.dll.___lc_locale_name_func, aborting 
--- snip ---

It might be a valid use-case to mix native and builtin Wine C/C++ runtime
providing better compatibility but there is a risk of introducing internal
helpers/details the way MS glues both runtimes together.

--- quote ---
___lc_locale_name_func is an internal CRT function that is used by other CRT
functions to get the current locale name from the thread local storage for CRT
data. This information is also available by using the _get_current_locale
function or the setlocale, _wsetlocale functions.
--- quote ---

This one might be easy since it's documented although not recommended to use by
apps.

Regards

-- 
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