XP DLL Inject with version 2.1.60

contains all delphi packages mentioned below
Post Reply
bedlam
Posts: 24
Joined: Tue Feb 01, 2005 1:01 pm

XP DLL Inject with version 2.1.60

Post by bedlam »

Hi Madashi,

I've updated to MadCollection v2.1.60 from v2.1.20 and whenever I use InjectLibrary to inject a DLL into ALL_SESSIONS (see code below) The PC just turns off in an instant and reboots.

My Inject/Uninject code is called from a system service:
InjectLibrary((ALL_SESSIONS Or SYSTEM_PROCESSES) and (not CURRENT_PROCESS), INJECTED_DLL)
UnInjectLibrary((ALL_SESSIONS Or SYSTEM_PROCESSES) and (not CURRENT_PROCESS), INJECTED_DLL)

Version 2.1.20 worked fine using the same code above, so I am now back to using the old version.
The MadCodeHook 2.1b works fine under Win2000 and XP. The new version 2.1e has some kind of problem when Injecting the DLL, why is this ?? what has changed in new MadCodeHook ?? :?

Thanx.
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

There should only be bugfixes.

Do you have the same problem when using the precompiled demos which ship with madCodeHook (2.1.6.0)?
bedlam
Posts: 24
Joined: Tue Feb 01, 2005 1:01 pm

Post by bedlam »

I forgot to mention that I only compiled the Delphi 2005 versions. It could
be a Delphi 2005 problem.
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Again: Do you have the same problem when using the precompiled demos which ship with madCodeHook (2.1.6.0)?
Post Reply