Hi,
In main prg ,I do a call upgrade to download from web and overwrite main.exe , but the mian exe not close in memory,so upgrade will failure.
main.prg
...
define window ownd
...
... button action (ownd:end(),winexec("upgrade.exe"))
activate window ownd
other close
return
but when running upgrade.exe, the the mian exe still in memory ,so upgrade will failure.
If can tetect main.exe is running , waiting till it close, the download begins.
Fwh 8.01, Harbour 1.0.0 , BCC551
Thanks !
Shuming Wang