i have question error code 0x770002

c++ / delphi package - dll injection and api hooking

Re: i have question error code 0x770002

Postby iconic » Thu Jan 09, 2020 7:03 pm

Hmmm, have you tried modifying the VMT directly instead of using HookCode() in the case of IFileDialog? In other words, replacing the method address pointer in the virtual method table (VMT) instead of overwriting the method address in memory at the prologue (first few binary bytes, which HookCode does). That should get around any uninterceptable code because the address is replaced to point to your callback directly, much like the way IAT patching works, it's an address replacement inside a table only.

Site Admin
Posts: 940
Joined: Wed Jun 08, 2005 5:08 am


Return to madCodeHook

Who is online

Users browsing this forum: No registered users and 7 guests