Hello .
i was unable to compile the MADHOOK project under XE5 32 bit (is it ever will be 64 ?)
also the probe exist with the DLLinjection.
it works fine under DELPHI 7 .
Can you assist ?
Unable to Compile DELPHI XE5 Code Hook sample
-
- Posts: 7
- Joined: Thu Apr 17, 2014 9:57 pm
Unable to Compile DELPHI XE5 Code Hook sample
- Attachments
-
- hook process creation
- Err1.jpg (223.83 KiB) Viewed 5612 times
Re: Unable to Compile DELPHI XE5 Code Hook sample
I don't have the demo code in front of me but I'd guess that arrChA is defined as an array of "char", change this to "AnsiChar" and it should compile. Newer Delphi compilers interpret "char" as unicode and not ansi.
--Iconic
--Iconic
-
- Posts: 7
- Joined: Thu Apr 17, 2014 9:57 pm
Re: Unable to Compile DELPHI XE5 Code Hook sample
thanks
i change it , and it works fine now .
i change it , and it works fine now .
Re: Unable to Compile DELPHI XE5 Code Hook sample
Iconic is right (of course).
It seems you're trying to compile the madCodeHook 2.x demos. Either you're still using an older commercial 2.x version, or maybe you're trying the madCodeHook 2.x evaluation version? The evaluation version should still work fine, but it's rather old, so it wasn't really written to support the newer Delphi versions yet, or also Windows 8, or 64bit OSs. The latest madCodeHook version 3.x of course fully supports all newer Delphi versions, 32bit and 64bit, and all newer OSs, 32bit and 64bit. The madCodeHook 3.x demos are also modified to compile properly under XE5.
Unfortunately I don't have a madCodeHook 3.x evaluation version available at the moment (creating an evaluation version which lets you test everything, but doesn't let you hack away the evaluation restrictions isn't easy to create). So if you want to play with madCodeHook evaluation, you're stuck with Windows 7 x86 (or older).
It seems you're trying to compile the madCodeHook 2.x demos. Either you're still using an older commercial 2.x version, or maybe you're trying the madCodeHook 2.x evaluation version? The evaluation version should still work fine, but it's rather old, so it wasn't really written to support the newer Delphi versions yet, or also Windows 8, or 64bit OSs. The latest madCodeHook version 3.x of course fully supports all newer Delphi versions, 32bit and 64bit, and all newer OSs, 32bit and 64bit. The madCodeHook 3.x demos are also modified to compile properly under XE5.
Unfortunately I don't have a madCodeHook 3.x evaluation version available at the moment (creating an evaluation version which lets you test everything, but doesn't let you hack away the evaluation restrictions isn't easy to create). So if you want to play with madCodeHook evaluation, you're stuck with Windows 7 x86 (or older).
-
- Posts: 7
- Joined: Thu Apr 17, 2014 9:57 pm
Re: Unable to Compile DELPHI XE5 Code Hook sample
ok , thanks .
i figure it out my self
also , i trying to build something , if it will work ok , i will buy a license .
thansk again .
i figure it out my self
also , i trying to build something , if it will work ok , i will buy a license .
thansk again .