Re: Windows execute but don't wait.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Now I am completely confused. I wrote a simple Eu program to execute the setup using the simple shellExecute() procedure from Win32Lib - and the program started the setup running and then terminated itself. It didn't wait for setup to run to completion before continuing to the abort(0) command. So .. I did the same in my main program: if it finds a new setup is available then:

shellExecute("open", "C:...setup.exe", SW_SHOWNORMAL) 
abort(0) 

And it does exactly what I wanted, with nothing clever or hard. I still feel sure that it CAN'T be right but it seems to be doing just what I want. I've tried it a few times to make sure and yes, it is doing just that.

My understanding of Windows API is clearly terrible; that's why I use Euphoria in the first place! All the work is done by
The "A" Team!!

Andy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu