ANN: madCodeHook 3.1.6

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

ANN: madCodeHook 3.1.6

Postby madshi » Tue Dec 03, 2013 2:18 pm

Today I'm releasing madCodeHook 3.1.6 with the following changes:

(1) fixed: CreateProcessEx failed for .Net processes
(2) fixed a couple of rare crashes
(3) [C++] added separate "madCHook64md" and "madCHook64mt" static libs
(4) [driver] fixed: injection in Vista x64 sometimes failed

http://madshi.net/madCollection.exe (installer 2.7.8.0)
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: ANN: madCodeHook 3.1.6

Postby powerlinm » Thu Mar 06, 2014 6:13 am

I meet a problem, I use this lib in XP.
my step is:
1.LoadInjectionDriver
2.InjectLibrary
3.StartInjectionDriver
If is use madCodeHook 3.1.4, all is OK.
But after upgrade to 3.1.6, i met this problem.
it return FALSE when call StartInjectionDriver , GetLastError() return 1058.
What can i do? is it a bug?
powerlinm
 
Posts: 33
Joined: Mon Dec 17, 2007 8:05 am

Re: ANN: madCodeHook 3.1.6

Postby madshi » Fri Mar 07, 2014 10:07 am

Did you reconfigure and resign the driver? You need to do that every time you recompile the hook dll.
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: ANN: madCodeHook 3.1.6

Postby powerlinm » Fri Mar 07, 2014 11:29 am

Yes I did every time.
powerlinm
 
Posts: 33
Joined: Mon Dec 17, 2007 8:05 am

Re: ANN: madCodeHook 3.1.6

Postby madshi » Sat Mar 08, 2014 10:25 am

Please try one of the following demos:

http://madshi.net/HookProcessCreation.zip
http://madshi.net/PrintMonitor.zip

Do they run ok on your XP machine, if you start them as is, without recompiling them? If they do work ok, try to recreate (recompile etc) all binary files yourself. Do they still work ok? If no, there seems to be a problem with the way you create the binary files. If yes, try to figure out why the demos work and your own project not. Must be a difference somewhere. If the demos don't work at all, even when using the original binary files created by me, then there seems to be a problem in madCodeHook itself. In that case: Can you reproduce this problem on a freshly installed clean XP VM?
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: ANN: madCodeHook 3.1.6

Postby powerlinm » Tue Mar 11, 2014 3:55 am

thanks your reply.
I did it in same xp vm machine, It couldn't work too. But i change to a new machine, it worked.
Later I found that injection failed not has nothing to do with the 3.1.6 version. But because the operating system installed other anti-virus software, resulting in insufficient resources, driver not installed successfully.
Thank your help.
powerlinm
 
Posts: 33
Joined: Mon Dec 17, 2007 8:05 am

Re: ANN: madCodeHook 3.1.6

Postby madshi » Tue Mar 11, 2014 8:24 am

Ah, good to know thanks.
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm


Return to madCodeHook

Who is online

Users browsing this forum: No registered users and 6 guests

cron