cjdelphi:
is it possible to create a memory segment fill it with executable code and then move the instruction pointer to the memory address and have it return?if so would it not be possible to store executable code on say sd? think more like a dll.. calling libraries off of sd doing whatever and freeing the memory?
Yes.