On Monday, 25 January 2021 at 07:58:01 UTC, Vitalii wrote:
Hello everyone! I want to create shared library that buffer some data and do some calculations, another program will use it. I wonder how this simplest code lead to crash (freeze) of dll:

Not tested your code but you have to use

import core.sys.windows.dll;
mixin SimpleDllMain;

Windows ist expecting a DllMain routine and runtime needs to attach the DLL thread.


Reply via email to