Runtime.unloadLibrary terminates application on Windows

Andre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 14 09:50:26 PST 2015


Hi,

there is an issue with the example from
http://wiki.dlang.org/Win32_DLLs_in_D

While executing the DYNAMIC_LOAD version, the application
will exit on statement: if (!Runtime.unloadLibrary(h))

Neither "error freeing mydll.dll" nor "End..." is written
to the console.

The application just ends.

Kind regards
André




More information about the Digitalmars-d-learn mailing list