Is selling cheats illegal

What's the difference between internal and external hacks?

An external Hack can be writtin in a . dll or .exe. You create a handle to the process with the right rights to use ReadProcessMemory() and WriteProcessMemory(). In an internal Hack you don't need a handle because you're in the thread .