https://issues.dlang.org/show_bug.cgi?id=19760

--- Comment #20 from Jonathan Marler <[email protected]> ---
Another idea to mitigate this problem.

Having a runtime dependency on a dll that is not intalled on Windows machines
by default could be OK if we could fail with a message prompting user to
install the Microsoft C++ Redistributable package.

This could be done by loading the msvcr100.dll dynamically inside druntime
rather than having the windows loader do it.  This would also give us the
ability to choose between multiple versions if we wanted to support that.  Then
in the case where it can't find the DLL, we could put up an error message or
error window a message like:

  "This binary requires the Microsoft Visual C++ 2010 Redistributable package. 
Please install it to continue."

--

Reply via email to