On Thursday, 2 August 2018 at 13:11:20 UTC, Everlast wrote:
But, when I put this stuff in a static this in a windowsx64 dll, the static this is called about 100 times!!! Not once!
try shared static this() instead of just static this()the latter is called once per thread, the former once per process. that might be the difference. maybe. 100 times still seems crazy.