Is it possible, in a windows program, to write machine code in memory and then be able to run that code? If not, could one build a dll with a function in it, then load the dll from the same program, and run that function?