[Bug 39437] Visual Studio 2015-compiled C++ programs do not run (unimplemented function api-ms-win-crt-runtime-l1-1-0.dll._initialize_onexit_table)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 20 22:19:54 CST 2015


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

--- Comment #9 from Austin English <austinenglish at gmail.com> ---
(In reply to rboxeur from comment #8)
> If you have access to winetricks repo then  ou just need to update
> winetricks to add api*dll and it should do it. For vc_redist*exe everything
> is in a10 file
> 
> After the  lines (for 32 bit case)
> 
> w_try_cabextract --directory="$W_TMP" "$W_TMP/a10"
> w_try_cabextract --directory="$W_TMP" "$W_TMP/a11"
> ...
> cp "$W_TMP"/vcruntime140.dll "$W_SYSTEM32_DLLS"/vcruntime140.dll
> 
> 
> 
> Just add the lines
> 
> cp "$W_TMP"/ucrtbase.dll "$W_SYSTEM32_DLLS"/ucrtbase.dll
> cp "$W_TMP"/api_ms_win_crt_locale_l1_1_0.dll
> "$W_SYSTEM32_DLLS"/api-ms-win-crt-locale-l1-1-0.dll
> cp "$W_TMP"/api_ms_win_crt_runtime_l1_1_0.dll
> "$W_SYSTEM32_DLLS"/api-ms-win-crt-runtime-l1-1-0.dll
> cp "$W_TMP"/api_ms_win_crt_stdio_l1_1_0.dll
> "$W_SYSTEM32_DLLS"/api-ms-win-crt-stdio-l1-1-0.dll
> cp "$W_TMP"/api_ms_win_crt_heap_l1_1_0.dll
> "$W_SYSTEM32_DLLS"/api-ms-win-crt-heap-l1-1-0.dll
> cp "$W_TMP"/api_ms_win_crt_conio_l1_1_0.dll
> "$W_SYSTEM32_DLLS"/api-ms-win-crt-conio-l1-1-0.dll
> 
> and update this line (for 32 bits case here)
> 
> w_override_dlls native,builtin atl140 msvcp140 msvcr140 vcomp140
> 
> to
> 
> w_override_dlls native,builtin atl140 msvcp140 msvcr140 vcomp140 ucrtbase
> api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-runtime-l1-1-0
> api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-heap-l1-1-0
> api-ms-win-crt-conio-l1-1-0

Please file an issues at Winetrick's issue tracker (or better yet, send a pull
request).

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