HOOK and injection are advanced programming techniques. The common windows injection and HOOK techniques are introduced and analyzed in this paper. (1) By using hooks; (2) By using registration table;（3）By Trojan Horse DLL; (4) By PE import table; (5) By using remote thread. Proposed a method of non-DLL and gives a machine code-level implementations of the technology. Finally the paper lists the key technology and gives the main code.