http://delphi-hlp.ru/index.php/windows/rabota-s-chuzhimi-protsessami/vnedrenie-biblioteki-cherez-createremotethread.html
Внедрение библиотеки через CreateRemoteThread | Delphi help