Getting rid of the evil delay caused by ShellExecute

Posted by korona on Stack Overflow See other posts from Stack Overflow or by korona
Published on 2008-10-07T08:13:55Z Indexed on 2010/03/20 21:11 UTC
Read the original article Hit count: 466

Filed under:
|
|

This is something that's been bothering me a while and there just has to be a solution to this. Every time I call ShellExecute to open an external file (be it a document, executable or a URL) this causes a very long lockup in my program before ShellExecute spawns the new process and returns. Does anyone know how to solve or work around this?

EDIT: And as the tags might indicate, this is on Win32 using C++.

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi