Load D shared library on windows x64

Tofu Ninja joeyemmons at yahoo.com
Sat Aug 18 00:31:49 UTC 2018


On Friday, 17 August 2018 at 20:27:05 UTC, Tofu Ninja wrote:
> Its this part that fails... always returns null
>
> HMODULE h = cast(HMODULE) Runtime.loadLibrary(dllName);
> if (h is null) {
> 	writeln("error loading");
> 	return;
> }


I there any way to see why Runtime.loadLibrary is failing? It 
just returns null on error which is not very helpful.


More information about the Digitalmars-d-learn mailing list