Okey, lets say I want to create an executable with delphi.
How exactly do you do this? Do you write the exe header and the machine code to a binary file or what? I know this is probably insane, but I was just wondering how you could do something like this.