www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Runtime.unloadLibrary terminates application on Windows

reply Andre <andre s-e-a-p.de> writes:
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é
Dec 14 2015
parent reply Andre <andre s-e-a-p.de> writes:
On Monday, 14 December 2015 at 17:50:26 UTC, Andre wrote:
 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é
It seems to be a regression https://issues.dlang.org/show_bug.cgi?id=1550 I will open a ticket for this issue
Dec 14 2015
parent Andre <andre s-e-a-p.de> writes:
On Monday, 14 December 2015 at 19:17:00 UTC, Andre wrote:
 It seems to be a regression
 https://issues.dlang.org/show_bug.cgi?id=1550

 I will open a ticket for this issue
https://issues.dlang.org/show_bug.cgi?id=15443
Dec 14 2015