How can I run an executable from RAM using C++?
The executable is in RAM, and I know the address, how do I call into the program from mine?
Mabye this could help you: http://www.codeproject.com/Articles/13897/Load-an-EXE-File-and-Run-It-from-Memory
PS: Writing an malware is not illegal (im most countries ;) ) using is!