Why filling AA in shared library freezes execution?
Adam D. Ruppe
destructionator at gmail.com
Tue Jan 26 14:12:17 UTC 2021
On Monday, 25 January 2021 at 21:48:10 UTC, Vitalii wrote:
> Q: Why filling assoc.array in shared library freeze execution?
D exes loading D dlls are very broken on Windows. You can kinda
make it work but there's a lot of bad design and showstopper bugs.
That's the sad reality of it. I'd suggest finding a different
approach. Maybe IPC or maybe making either the exe or dll not use
druntime (like redesigning for -betterC, though even there it is
tricky since like global variables aren't imported from the dll
by the compiler, you have to do extra indirection yourself)
More information about the Digitalmars-d-learn
mailing list