[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 22:15:49 UTC 2019


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

--- Comment #23 from Rainer Schuetze <r.sagitario at gmx.de> ---
>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."

This is possible with delayed loaded DLLs. An error could be issued at startup
as in
https://docs.microsoft.com/en-us/cpp/build/reference/loading-all-imports-for-a-delay-loaded-dll?view=vs-2017

The downside is that the necessary lib implementing this functionality
(delayimp.lib) comes with VC only, so you can also just use the static
libraries to begin with.

> I think this is a doc issue.

I agree, lets improve the documentation and move on.

--


More information about the Digitalmars-d-bugs mailing list