Output Exe File - Extract it from another Exe

bagsfr

Right off the assembly line
Hello guys, I want to ask you for a little help.
I wand to find out how to make such a executable file (in C++), that if it is run, it will extract another executable Exe e.g to directory C:\\my_extracted_file.exe. And that my_extracted_file.exe should display some MessageBox, if it's run.


I hope, that someone will help me, I read alots of internet articles about this, but I failed...
Please don't post me some references, I can't understand it somehow. I would be very delighted if you show me some example code (C++).
 
what exactly do you mean by "extract" ?? compile ??

use my post from here
change it to C++ code
hard code your program

OR

you can write the program to a file say C:\example.cpp
and use this method to compile the program.

info on CL.exe compiler Compiler Command-Line Syntax (C++)
 
Top Bottom