>>>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.
Antonio,
I have solved that the other way
If an update is available (and the user wants the update), I start another exe passing the directory and parameters to restart
The update is a screen with choices
- download
- restart app
If the restart app is clicked I restart the original exe (I have the start directory and paramters)
So, in case this is automated, restart the original exe after the download
Gregory