Re: Windows execute but don't wait.
- Posted by AndyDrummond Jul 19, 2013
- 2384 views
Hmm, I think SEE_MASK_NOASYNC is the flag to use with shellExecuteEx().
http://msdn.microsoft.com/en-us/library/windows/desktop/bb759784(v=vs.85).aspx
The SEE_MASK_NOASYNC flag must be specified if the thread calling ShellExecuteEx does not have a message loop or if the thread or process will terminate soon after ShellExecuteEx returns.
And hmm yes, I see you are right. I never found that. Too long spent programming other systems than Windies. Again, Jim, thanks. That's MUCH nicer IMHO.
Andy
Help! I am struggling with using shellExecuteEx(). The win32lib "shellExecuteEx()" is just an alternative entry to shellExecuteEx(), and doesn't allow me to put in a mask code. I tried - well, all sorts of things, and I'm getting nowhere.
So, Jim, or anyone, do you have an example of how I can invoke shellExecuteEx with a mask code? It should be simple enough - but I'm making heavy weather of it all. Euphoria 3, remember..
Thanks for your help, in advance. I live and learn, just rather slowly it seems to me.
Andy