Board index » cppbuilder » Switching application

Switching application


2006-07-14 09:29:59 PM
cppbuilder82
Hi, I sure there is a way but I can't find it. I want to close down the current application and immediately start another. How can I do this from within the first application? Presumably as part of OnClose.
George
 
 

Re:Switching application

George wrote:
Quote
Hi, I sure there is a way but I can't find it. I want to close down the current application and immediately start another. How can I do this from within the first application? Presumably as part of OnClose.

George
Have you looked at the spawnl function using P_NOWAIT as the first argument?
Danzer
 

Re:Switching application

Thanks I am now looking at it.
George
Danzer <.>wrote:
Quote
George wrote:
>Hi, I sure there is a way but I can't find it. I want to close down the current application and immediately start another. How can I do this from within the first application? Presumably as part of OnClose.
>
>George

Have you looked at the spawnl function using P_NOWAIT as the first argument?

Danzer
 

{smallsort}

Re:Switching application

Works fine thank you. I am testing with argument OVERLAY.
I wonder where they got the funny word spawn from.
George
Danzer <.>wrote:
Quote
Have you looked at the spawnl function using P_NOWAIT as the first argument?

Danzer
 

Re:Switching application

george wrote:
Quote
Works fine thank you. I am testing with argument OVERLAY.

I wonder where they got the funny word spawn from.

George
Spawning refers to the process that calls spawn as the parent and the
created process as the child. Using this train of thought, the word
spawn fits in with the definitions from dictionary.com.
verb transitive
1. To produce or deposit (spawn).
2. To produce in large numbers.
3. To give rise to; engender: tyranny that spawned revolt.
4. To cause to spawn; bring forth; produce: a family that had spawned a
monster.
5. To plant with mycelia grown in specially prepared organic matter.