This is what bothered me for a while, and just need to solve it. Each time I call ShellExecute to open an external file (be it a document, executable file or URL), it causes a very long lock in my program before ShellExecute creates a new process and returns. Does anyone know how to solve or get around this?
EDIT: And, as the tags indicate, this is on Win32 using C ++.
Multithreading?
ShellExecute. , , - MS Office. , DDE , (, , ...) . , ( ) . , , , , .
, PeekMessage , . , -, , -, ?
, , , , . Raymond ( 1) ( 2). CoInitialize ( ), - MFC .
, , ( sysinternal fame) , , . " Windows Vista Open Open" , , explorer (, ). , , Windows.
, , , , . CreateProcess, , .
CreateProcess
.
Source: https://habr.com/ru/post/1697971/More articles:Get my WAN IP Address - web-servicesSee Javascript File in JQuery - jquerySQL Server 2005 - Эффект Rowsize для производительности запросов? - performanceWhere to start with HDL? - embeddedRegular Expression Algorithm - regexSecurityException error when an application starts from a remote folder - securityCreate RegEx from matches - c #Is it possible to automate the creation of an installation package using ant? - javaCould you recommend unstructured data indexing software? - searchКак преобразовать число в bytearray в бит-порядке - c++All Articles