title: How to force a specific process to use a proxy for network communication
body: <p>There are a few programs like <a href="https://www.proxifier.com/" rel="noreferrer">Proxifier</a> that can force an exe to use a proxy. There are a few others, too. But the sites all look a bit shady. I don't even trust Proxifier tbh... So I'd like to know how these programs work. How do they do it? Is there a WinAPI function that can be used to do that? Or do you have to actually inject code into the processes?  </p>
  
  <p>I was only able to find functions to change the global proxy of windows. But some programs don't care what the global proxy says, they always try to connect directly, even if it's not possible... </p>