InitializeMadCHook is not returning control.
InitializeMadCHook is not returning control.
We are doing system wide injection of one DLL. In the dll initialize we call InitializeMadCHook() function. While initiliazing library after injection in the putty.exe(SSH, Telnet and Rlogin Client), xhost.exe(Cygwin) and xWin.exe(Cygwin) calling InitializeMadCHook is hanged inside and not returning control.
Re: InitializeMadCHook is not returning control.
Hmmmm... I've never heard of such a problem yet. How can I reproduce it? Does it happen with an "empty" hook dll, too? Which exact OS? Are you using the latest madCodeHook version (3.1.6)?
Re: InitializeMadCHook is not returning control.
The issue is coming on Windows XP - SP3 and Windows Server 2008 R2 - SP1 (64 bit), but it is not coming on windows 7. You have to install cygwin with X11 package.
The cygwin can be downloaded from http://cygwin.com/install.html. Now, if you inject a hooking dll system wide and start xwin server(from Cygwin). You will not get to see its UI and the process will be shown in task manger. The InitializeMadCHook() function in the dll hangs and does not return. We haven't hooked any thing until now, so it doesn't matters whether it is a empty hook dll or not.
The cygwin can be downloaded from http://cygwin.com/install.html. Now, if you inject a hooking dll system wide and start xwin server(from Cygwin). You will not get to see its UI and the process will be shown in task manger. The InitializeMadCHook() function in the dll hangs and does not return. We haven't hooked any thing until now, so it doesn't matters whether it is a empty hook dll or not.
Re: InitializeMadCHook is not returning control.
The madcodehook version, we have used is 3.1.5
Re: InitializeMadCHook is not returning control.
Can you please double check with 3.1.6, just to be sure?