I have a executable that was written in Delphi 2007.
My DLL is written in Delphi 10.2
I'm using
Delphi Detours Library to hook some functions.
Everything was fine when a old DLL is used.
But, I don't know why, now the target is throwing Access Violations when it try to create a thread.
After some deep digging, I found that any call from BeginThread to windows CreateThread is throwing Access Violation.
Is something about SysInit ThreadWrapper.
Anyone can give me some light?