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.
SendIpcMessage & CreateFile
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?
How does your hook callback function look like?
How does your IPC callback function look like?