I have just created a Delphi project to add some context menu to window's right-click menu (shell extension)
The problem is, it's return true when i created an IPC in the shell's DLL but no message jump in the callback function, can anyone help?
MadCodeHook IPC not worked in my Shell Extension
Re: MadCodeHook IPC not worked in my Shell Extension
So your shell extension DLL calls CreateIpcQueue? And your main application calls SendIpcMessage? And CreateIpcQueue returns true? What does SendIpcMessage return?
Re: MadCodeHook IPC not worked in my Shell Extension
Yah, I did used CreateIPCQueue and SendIPCMessage, they both return true for me
But it's seem that the message, which should be handled by the callback funtion not appeared, i used OutputDebugString to return some text but nothing happened!
But it's seem that the message, which should be handled by the callback funtion not appeared, i used OutputDebugString to return some text but nothing happened!
Re: MadCodeHook IPC not worked in my Shell Extension
Are you sure DebugOutputString works as expected? Try creating an empty file on the desktop, or try "ExitProcess(0)". Does that close down Explorer?
Re: MadCodeHook IPC not worked in my Shell Extension
I used an DLLProc function to detect DLL state too, and OutputDebugString still return every time i do right click but the OutputDebugString inside callback function still idle and will not show anything