Can't remember how I coded it to be honest...
Make sure you have OpenProcess() rights, it only uses WriteProcessMemory() I think.
Not offering personal support on the hack so if it doesn't work you have my permission to reverse it otherwise you can go without
.