Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.654 Beiträge
Delphi 12 Athens
|
AW: ShellExecuteEx, PDF-Datei, Windows 8, Metro-PDF-Viewer -> kein Handle
30. Jan 2014, 09:10
Aus dem MSDN zu ShellExecuteInfo:
Zitat:
hProcess
Type: HANDLE
A handle to the newly started application. This member is set on return and is always NULL unless fMask is set to SEE_MASK_NOCLOSEPROCESS. Even if fMask is set to SEE_MASK_NOCLOSEPROCESS, hProcess will be NULL if no process was launched. For example, if a document to be launched is a URL and an instance of Internet Explorer is already running, it will display the document. No new process is launched, and hProcess will be NULL.
Note ShellExecuteEx does not always return an hProcess, even if a process is launched as the result of the call. For example, an hProcess does not return when you use SEE_MASK_INVOKEIDLIST to invoke IContextMenu.
Sieht so aus, als müsste man damit leben.
Detlef "Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
|