Name: Anonymous 2009-09-04 11:19
So I'm writing a program on Windows where I'd like to include an exe to run. Source for the exe isn't available. Is there a good way of doing this?
What I have currently is this: convert the exe to a character array and write it to a temporary file for calling with system or spawn. But this seems like the wrong way to go about it. At the very least, the Google has suggested named pipes might be the way to go, but I've got no idea how to work with them.
Halp?
What I have currently is this: convert the exe to a character array and write it to a temporary file for calling with system or spawn. But this seems like the wrong way to go about it. At the very least, the Google has suggested named pipes might be the way to go, but I've got no idea how to work with them.
Halp?