Executing a program from another - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Executing a program from another

luckyboyluckyboy Posts: 105Member
Hi all,
suppose i have a stand alone .exe program how can i execute it from my program ?!
is there a C++ function to do that ?

please if the code contains an assembly code, write it detailed.
I DON'T KNOW ASSEMPLY

Comments

  • stephlstephl Posts: 422Member
    : Hi all,
    : suppose i have a stand alone .exe program how can i execute it from my program ?!
    : is there a C++ function to do that ?
    :
    : please if the code contains an assembly code, write it detailed.
    : I DON'T KNOW ASSEMPLY
    :
    If it is under Windows, then have a look at the WinExec (old) or CreateProcess functions.

    Take care, Steph.
Sign In or Register to comment.