Home > Back-end >  (C) system global hook
(C) system global hook

Time:10-11

C + + development: how to get to open the word with hooks system messages, and change the open content of the word, trouble you help the younger brother see greatly,

CodePudding user response:

Hook createprocess

CodePudding user response:

The landlord to this requirement, I can only say that is very complex, hook createprocess is meaningless, and

Give the building a link, to study by oneself,
http://jacquelin.potier.free.fr/winapioverride32/doc/com.htm

CodePudding user response:

Study

CodePudding user response:

LZ purpose is not to modify it before a file is opened, word documents and files, hook createprocess, intercepted a file open, decide whether it is a word file, if it is just modify the file, not just to intercept a TXT text files, before it is opened to modify its content, here to modify a word file, the need to know the binary structure of word file,
  • Related