>>It's for an updater, the second process must ensure the calling process is completely off-cpu.
>
>OIC now. I do exactly the same thing with ShellExecute. In updater I do the updating if I can open the source executable readwrite (else it is not quitted yet and I wait). It works very nicely (I have a semaphore locking for running instances check in main exe but I don't even needed to use it in 'updater').
>Cetin
That's mostly the way I'll try to put things up.
Thanks, Çetin.
----------------------------------
António Tavares Lopes