Mysterious programme termination

0ffh spam at frankhirsch.net
Sun Mar 25 11:38:27 PDT 2007


Hi,

forgive me if I am being really stupid, but I have something
here that really kind of mystifies me.

I have tried out the DLL code of spottedtiger, found at
http://spottedtiger.tripod.com/D_Language/D_WinDLL.html .

Trouble is: When I unload the DLL, no matter if I use the
Windows API example or std.loader, the whole programme
terminates. It seems that this was not noticed before,
as unloading the library is the last thing done in the
example. Just try to add a writefln after FreeLibrary,
respectively ExeModule_Release.

Any suggestions?

Regards,

   0ffh



More information about the Digitalmars-d mailing list