title: ASM/OPcode injection with C++
body: <p>I'm trying to inject some ASM code into a Win32 program with C++.
  Is there a way to do this, avoiding DLL injection ?</p>
  
  <p>This, for instance :</p>
  
  <pre><code>__asm{}
  </code></pre>
  
  <p>is only for the current program. Is there something similar used to generate hex code I could inject with WriteProcessMemory ?</p>
  
  <p>Thanks in advance !</p>