I need to make the primary .exe unrunnable from it (When you try to start it directly ,you get a message : Cannot start directly,if it runs from the secondary exe (only it,m
Make the first exe a DLL. Then the second program can use it but a user won't be able to run it directly.