hiding old .exe

Dec 11, 2010 at 1:54am
I have made a few small programs:
Calculator
Temp Cal
Tip Cal
C/F Cal
Password prompt (GUI)

I'm now trying to make a central hub that will launch the file I want. However, the way I'm trying to do this, I want to somehow hide the .exe in my certal hub.exe without copying and pasting the code to the Central hub.exe.

Best picture I can draw:

//Central Hub:
int main()
{
launch tipCal.exe //But not out of the same directory, and not out of this sournce code.
}
Dec 11, 2010 at 1:54am
is it possible?
Dec 11, 2010 at 3:04am
Also is there something similar to .dll files
Dec 11, 2010 at 10:03am
sorry bump
Dec 11, 2010 at 10:32am
You could use system("directory\tipCalc.exe") (replacing directory with the directory that tipCalc is in)

This has some major security flaws, so I wouldn't recommend it if you're publishing this program.
Dec 11, 2010 at 6:53pm
The safe way is to copy the code us a fuction in tyhe caller. But that rather bloats the caller exe.
The only other way I can think of is a system call but that has major drawbacks, mainly that's it's slow and very un-secure.

/offtopic on
Please use edits to add something to your posts, don't double- and triple-post...
Topic archived. No new replies allowed.