'What do i need to put in handle in -> pymem.process.inject_dll(handle, path)

Im trying to inject a dll inside an other process with pymem. But i don't know what to put in handle. I tried writing the process id and the process name but it doesn't seem to work. If someone could help it would be great, thanks!

pymem.process.inject_dll(handle, dllpath)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source