Atach your main.exe and the dll here I will hook it for you. There are two main ways to do it : using Pe Editors or hook with Olly It's easier to hook with Pe Editor and pack main.exe with molebox this way your dll file will be safe and it's like few clicks but packed applications face some problems with some antivirus programs so it's better to hook with Olly there are a lot of guides in internet on how to hook dll in main.exe with Olly