Reputation: 10074
The recent ATL security update updated the C++ runtimes to version 8.0.50727.4053. Unfortunately, this update broke one of our DLLs that dynamically links to the runtime, as we only have 8.0.50727.762 available to us on the target machine (we don't even use ATL).
Is there a way we can get Visual Studio to dynamically link to the older DLL? I'd like to avoid statically linking if possible.
Upvotes: 1
Views: 554
Reputation: 114695
Another solution is forcing VS to link against the old versions of the WinSxS DLLs as explained in this article.
Upvotes: 2
Reputation: 114695
I don't know if this is feasible but have you tried having your customers install the redistributable package?
Upvotes: 0
Reputation: 1538
Copy the requisite DLL versions directly into your executable's directory, it is searched first during dynamic linking.
Upvotes: 0