SendIpcMessage & CreateFile

c++ / delphi package - dll injection and api hooking
Post Reply
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

SendIpcMessage & CreateFile

Post by LeVuHoang »

While I hooked CreateFileW and using SendIpcMessage to communicate with main program. It seems too much programs using this API, so, my computer be freezed.
How can I solve this problem ?

Thank you.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

CreateFileW is really used quite often, and IPC is quite expensive. So it's perhaps not a good idea to use this combination. However, I'm not sure why you get freezes. CreateFileW is not used *that* often. Your PC might be slowed down, but I don't think you should get freezes.

How does your hook callback function look like?

How does your IPC callback function look like?
Post Reply