Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

as always confused 1

Status
Not open for further replies.

jimjake

Technical User
Oct 30, 2004
25
US
Trying to get this process in my mind. I have a single source
Program I developed with std::cout and std::cin. I then found an
Example of a window program that displays a window with one
Button in it. Now the button destroys the window. I want to execute my
Program when I hit the button. I used to program in assembler and rexx and there
Was always a call to another function. Having a hard time in c++ understanding
What calls another program from a running program. Is it in the linking?
 
It doesn't have to do with C++. The language itself doesn't define how one program calls another. On Windows, the way it's done is the operating system loads the second program and starts executing it when the first program calls a special function defined in the operating system's API. There are actually a couple different functions. One of them is CreateProcess.
 
thank you(ha ha) it's as clear as mud, but covers the ground I will read about createProcess...... jim, agai thank you.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top