SendIPCMessage sometimes suspend
Posted: 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".
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".