Go Back   Exetools > General > Source Code


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-26-2020, 14:07
phroyt phroyt is offline
Join Date: May 2018
Posts: 69
Rept. Given: 0
Rept. Rcvd 7 Times in 3 Posts
Thanks Given: 27
Thanks Rcvd at 94 Times in 38 Posts
phroyt Reputation: 7
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OllyDbg is not good at supporting breakpoints in multi-threading environment BlackWhite General Discussion 6 08-10-2017 20:43
Keygenning With Delphi: Useful Delphi Functions and Tips chessgod101 General Discussion 5 01-05-2015 23:02
Delphi Encryption Compendium v3.0 Problem winndy General Discussion 1 02-18-2006 10:12
Modifying Kernel Mode Driver for Hyper Threading aldente General Discussion 8 08-13-2004 10:11

All times are GMT +8. The time now is 12:58.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )