Why are system's MSVC runtime DLLs used instead of ours ones sometimes?

Microsoft Windows

Active Members
Joined
Dec 10, 2024
Messages
23,827
In order to decrease our app's installer size and do not force the user to download MSVC runtime redistributable installer, we include all the MSVC runtime DLLs we need (and only them) into our installer using the following technique. All was working fine during many years until now. Recently we've switched to use MSVC2022 and 14.42.34433.0 version of the runtime (pretty new one). Now, we're getting crash dumps from our users. Not too much (about 1 per 1000 users) with the following stack trace: msvcp140.dll!00007ffa1d488c34() Unknown myapp.exe!std::_Mutex_base::lock() Line 52 C++

Continue reading...
 
Back
Top