This post was flagged by the community and is temporarily hidden.
Are you asking how to inject code into an already existing executable, or just how to create an executable from code?
If it’s the first, I would like to ask what the purpose is?
No. But we can try and help you provided we know more about the intent and are given more context.