The task is as follows:

  1. Create a process from my application
  2. Load in the created process dll with the code I need

How to do it correctly? I want to create a process using the CreateProcess function, then using the parent process to load the dll into the created process using a remote stream, do I think correctly how to make it better and easier?

    1 answer 1

    Here is a working example: http://www.alax.info/svn/public/trunk/Utilities/InjectLibrary/

    Only it is necessary to take into account that starting with Vista, all these actions will require elevated privileges of the process (running on behalf of the administrator) and can (will?) Trigger the operation of UAC.

    • installation privileges debugger ride? - Duracell
    • I don’t know, I only dealt with code injection in XP. - Alekcvp