![]() |
DLL+HWND
Hi,
Kurze Frage. Kennt ihr eine Möglichkeit innerhalb einer DLL das Handle des aufrufenden Programms herauszubekommen??? Danke im Voraus mfg |
Re: DLL+HWND
GetWindowThreadProcessId
|
Re: DLL+HWND
Hi,
Zitat:
Die OH sagt: The GetWindowThreadProcessId function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window. This function supersedes the GetWindowTask function. DWORD GetWindowThreadProcessId( HWND hWnd, // handle of window <~~ da will ich ran LPDWORD lpdwProcessId // address of variable for process identifier ); Parameters hWnd Identifies the window. lpdwProcessId Points to a 32-bit value that receives the process identifier. If this parameter is not NULL, GetWindowThreadProcessId copies the identifier of the process to the 32-bit value; otherwise, it does not. Gibts sone Funktion??? mfg |
Re: DLL+HWND
Dann probier mal GetActiveWindow
OH: The GetActiveWindow function retrieves the window handle to the active window associated with the thread that calls the function. |
Re: DLL+HWND
Zitat:
habs grad ma getested. Scheint zu funzen - genau das was ich gesucht hab ... thx tolles Forum ... schnelle kompetente und freundliche hilfe thx weiter so ... mfg |
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:43 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz