Closed staticfloat closed 1 year ago
Windows runs DllMain multiple times; when new threads are started, for instance. We want to run our DllMain() implementation only during process attachment (e.g. when the first thread loads it).
DllMain
DllMain()
Windows runs
DllMain
multiple times; when new threads are started, for instance. We want to run ourDllMain()
implementation only during process attachment (e.g. when the first thread loads it).