Hello guys, does anyone know what you're wrong?
I'm trying to inject a dll, but when I run the procedure does not work right, I use Delphi 2010, the same code works in Delphi 7.
Code:
Result:PHP Code:
const
FSpeechAdress = $004073F0; // 8.6
var
FSpeech: procedure(const speechType: Integer; const text: String); stdcall;
begin
@FSpeech := Ptr(FSpeechAdress);
// Execute
FSpeech($1, 'Testing');
00:56 Test [1]: T