I have developed a tool that changes the appearance of certain programs. To do it I need to inject a dll in some processes.
For now I use basically this approach. The problem is often people cannot inject the dll because they don’t run the target process as an admin or other things I don’t understand (someone couldn’t inject on vista at all, even with UAC off) so it is pretty os dependant.
Is there a reliable opensource solution that I could use in my application, that allows troubleshooting like identifying user problems?
The method is quite common and reliable.
Just try adding
So your injection app will get debug privileges.