Could you split your B4PPC code so that one sub runs up to the point at which it needs to wait for the other program to write to the registry/file.
The B4PPC program could then periodically check for the registry/file to update using a timed event, at which point it could call a sub to continue the rest of your program.
Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
|