Am 18.11.2026 um 21:59 schrieb Chris M. Thomasson:
> Yeah. Also, in a dll: TlsAlloc and friends are the way to go.
> Iirc, in DLLMain, set everything up.
You can write your own DllMain without honouring TlsAlloc.
The kernel does everything for you and places the right
TLS-index in the thread-information block.