Paliss
10th October 2001, 15:30
I'm making program with subprocess, but I cannot return to parent form.
Here is parts of programs of parent and child
Parent:
child.id = activate("tdslso103s000")
export("cpay.dsca", cpay.dsca)
switch.to.process(child.id)
kill(child.id)
import("cpay.dsca", cpay.dsca)
Child:
wait.for.switch()
import("cpay.dsca", cpay.dsca)
actions ...
export("cpay.dsca", cpay.dsca)
switch.to.process(parent)
When child process do switch.to.process(parent), it is sucessfully done.
Program continue in parent process and it is sucessfully killed child process, it isn't in process list yet.
But child form is on the top. I cannot enter in parent form.
Child form is blank gray form. I cannot do anythting with window of form.
Can sombody help me where is my fault?
Thank you for help
Paliss
PS. Can me somebody tell more about processes and working with them. Switching etc.
Thanks
Paliss
Here is parts of programs of parent and child
Parent:
child.id = activate("tdslso103s000")
export("cpay.dsca", cpay.dsca)
switch.to.process(child.id)
kill(child.id)
import("cpay.dsca", cpay.dsca)
Child:
wait.for.switch()
import("cpay.dsca", cpay.dsca)
actions ...
export("cpay.dsca", cpay.dsca)
switch.to.process(parent)
When child process do switch.to.process(parent), it is sucessfully done.
Program continue in parent process and it is sucessfully killed child process, it isn't in process list yet.
But child form is on the top. I cannot enter in parent form.
Child form is blank gray form. I cannot do anythting with window of form.
Can sombody help me where is my fault?
Thank you for help
Paliss
PS. Can me somebody tell more about processes and working with them. Switching etc.
Thanks
Paliss