>>>I'll semaphorize the processes to resolve conflicts.
>>>
>>And why will that be any problem? A small part of VFP will remain in memory for a few more nanoseconds, doing clean up, that's all.
>
>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