View Single Post
  #1  
Old 04-26-2020, 14:07
phroyt phroyt is offline
Friend
 
Join Date: May 2018
Posts: 77
Rept. Given: 0
Rept. Rcvd 8 Times in 4 Posts
Thanks Given: 35
Thanks Rcvd at 106 Times in 40 Posts
phroyt Reputation: 8
Delphi threading problem

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?
Reply With Quote