Page 1 of 1

ANN: madCodeHook 3.1.6

Posted: Tue Dec 03, 2013 2:18 pm
by madshi
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)

Re: ANN: madCodeHook 3.1.6

Posted: Thu Mar 06, 2014 6:13 am
by powerlinm
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?

Re: ANN: madCodeHook 3.1.6

Posted: Fri Mar 07, 2014 10:07 am
by madshi
Did you reconfigure and resign the driver? You need to do that every time you recompile the hook dll.

Re: ANN: madCodeHook 3.1.6

Posted: Fri Mar 07, 2014 11:29 am
by powerlinm
Yes I did every time.

Re: ANN: madCodeHook 3.1.6

Posted: Sat Mar 08, 2014 10:25 am
by madshi
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?

Re: ANN: madCodeHook 3.1.6

Posted: Tue Mar 11, 2014 3:55 am
by powerlinm
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.

Re: ANN: madCodeHook 3.1.6

Posted: Tue Mar 11, 2014 8:24 am
by madshi
Ah, good to know thanks.