My C++ (MFC) application is statically linked and loads a number of statically linked DLLs using LoadLibrary(). All had worked fine using VS2013 but since moving to VS2015 I have seen a number of strange _com_error exceptions being raised in a variety of locations.
In my test setup I have 56 DLLs being loaded and I see these exceptions. If I reduce this to 53 all seems to work fine.
I am assuming it is related to: Working around fls limitations with too many statically linked CRTs?
But what I am wondering is if something specific has changed from VS2013 to VS2015. I note a lot of work has been done on the CRT in this version of Visual Studio (https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/)
Note: I am compiling for Vista+ operating systems (_WIN32_WINNT_VISTA)
I can get things to work by recompiling the DLLs to use dynamic linking but was under the impression this is not a good idea if the main application is using static linking (I don't want to change this setting).