There are several ways (depending on what you want to achieve):
A common but limited one is to run the system() function with parameters separated by spaces as if you were running it from the command prompt:
system("application2.exe 42 24");
CreateProcess() is one of them
http://msdn.microsoft.com/en-us/library/ms682425.aspxShellexecute is a win32 api to handle this too:
http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspxtry googling any of these:
execl, execlp, execv