May 24th, 2009, 07:59 AM
Embed .exe in a c++ project
Is it possible to embed an extenal executable in a project?
For example, if i want to run wget.exe, i would normally included the wget executable in the same directory as the main program, and call system("wget.exe http://domain.com/file.txt");.
But I want my program to be minimal and only have 1 file. Instead of keeping two executable, I would like to keep everything in one file, for simplicity and less chance of messing up the program.
How would i do this?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.