Thanks for your answer, Insid3Code,
Quote:
To add support for WOW64 (32bit application on 64bit system) you need to use (Wow64GetThreadContext
|
Well, that's not true if I compile your code in 32bit mode and I take as target a 32bit app; from MSDN:
Quote:
A 32-bit application can call this function on a WOW64 thread; the result is the same as calling the GetThreadContext function
|
Anyway, the one-byte patch (either in 32 or in 64bit mode) is yet a mistery for me...
Best regards
bilbo