Autor Beitrag
CK_CK
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

Win 2000, Win XP Prof
Delphi 2006 Enterprise
BeitragVerfasst: So 18.06.06 14:47 
Hallo Leute,
ich suche nach einer Möglichkeit, das Handle der Anwendund herauszubekommen, die meine DLL geladen hat.

Ich freue mich über eure Vorschläge ;)

Viele Grüße,
CK_CK
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 18.06.06 14:53 
Welches brauchst Du? PID, HMODULE, HFILE, ...?

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
CK_CK Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

Win 2000, Win XP Prof
Delphi 2006 Enterprise
BeitragVerfasst: So 18.06.06 14:55 
Hi!
Ich brauche das HWND-Handle (nennt man das so? ;)),
um es dem Application.Handle der DLL zuzuweisen...

Grüße,
CK_CK
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 18.06.06 15:01 
Schau Dir mal FindWindow an und such nach TApplication. Ferner brauchst Du Suche im MSDN GETCURRENTPROCESSID und Suche im MSDN GETWINDOWTHREADPROCESSID. Die darüber gewonnen Informationen für FindWindow und die aktuelle Prozess-ID müssen übereinstimmen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.