SendIPCMessage sometimes suspend

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

SendIPCMessage sometimes suspend

Postby Fengyun » Wed May 21, 2014 5:43 pm

hello, In my hook dll, I call SendIPCMessage, sometimes this function wait forever, the process suspend....

bool bRet = false;
SendIPCMessage("ipcname", (PVOID)buf, nBufLen, &bRet, sizeof(bool), INFINITE);

but my host process's log show that this ipc has been processed.

why SendIPCMessage still wait? I call SendIPCMessage in my callback fucntion, the hooked fuction is "CloseHandle".
Fengyun
 
Posts: 8
Joined: Wed Apr 09, 2014 10:03 am

Re: SendIPCMessage sometimes suspend

Postby madshi » Wed May 21, 2014 5:49 pm

I told you in the other thread to set "handleMessages" to "false". Have you tried that?
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 4 guests

cron