https://bugs.winehq.org/show_bug.cgi?id=44736
Bug ID: 44736 Summary: incorrect module loading order Product: Wine Version: 3.3 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: piotr.caban@gmail.com Distribution: ---
Created attachment 60742 --> https://bugs.winehq.org/attachment.cgi?id=60742 source of application that can be used to reproduce the problem
Module loading order has changed after following commit: commit ed893d3591802bb562d100b277f968be402af740 Author: Alexandre Julliard julliard@winehq.org Date: Tue Nov 21 13:13:35 2017 +0100
ntdll: Delay attaching to dlls loaded because of a forwarded entry point.
Based on a patch by Sebastian Lackner.
Signed-off-by: Alexandre Julliard julliard@winehq.org
Because of that we're failing to load native msvcp140 when all other dlls are set to builtin. I've written a small test application that shows the problem. The important part of its output is: func1 0 This means that func1 is called before DllMain.