Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Including .exes in C

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?

Name: Anonymous 2009-09-04 11:25

system("something.exe");
like that? won't get you any output from the exe though.
in *nix it would be piss easy, just use a pipe. i don't know if windows supports that though

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List