[Issue 19760] Windows 10 -m64 completely broken, can't compile/run hello world

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 28 16:29:32 UTC 2019


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

--- Comment #20 from Jonathan Marler <johnnymarler at gmail.com> ---
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."

--


More information about the Digitalmars-d-bugs mailing list