Forum: Win32/Win64 API (native code)
Delphi
by marabu,
3. Feb 2006
Hallo Frank,
als Entschädigung für das vorübergehende (und unbeabsichtigte) thread hijacking habe ich dir etwas Code in deinem ursprünglichen thread hinterlassen: klick
Grüße vom marabu
Forum: Win32/Win64 API (native code)
Delphi
by marabu,
3. Feb 2006
Es wird wohl etwas komplizierter als ich dachte:
The SetWindowLong function fails if the window specified by the hWnd parameter does not belong to the same process as the calling thread.
Vielleicht helfen die Informationen aus diesem thread weiter: klick
marabu
Forum: Win32/Win64 API (native code)
Delphi
by marabu,
2. Feb 2006
Die Gültigkeitsprüfung für deinen Fenstergriff hast du schon gemacht - dann kannst du noch mit SetWindowText() probeweise die Form.Caption verändern um zu sehen, ob du das richtige Fenster erwischt hast.
Grüße vom marabu