Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Auf Java-Applet zugreifen... (https://www.delphipraxis.net/75814-auf-java-applet-zugreifen.html)

TypusMensch 25. Aug 2006 10:26


Auf Java-Applet zugreifen...
 
Hallo,

Ich lade mit EmbeddedWB eine Seite rein, die auf meinen Server liegt. Die Seite beinhaltet eine JavaApplet-Chat (PJIRC).

Nun möchte ich es möglich machen, dass man über mehrere Buttons z.B. kurze Kommentare (z.B. "Hallo", "Gute Nacht", etc.) in das Edit des Applets einliest und automatisch versendet.

Ich komme mit
Delphi-Quellcode:
wnd := FindWindow('TForm1', 'Webchat');
wnd := FindWindowEx(wnd, 0, 'Shell Embedding', nil);
wnd := FindWindowEx(wnd, 0, 'Shell DocObject View', nil);
wnd := FindWindowEx(wnd, 0, 'Internet Explorer_Server', nil);
wnd := FindWindowEx(wnd, 0, 'Microsoft VM For Java(TM) Host Window Class', nil);
wnd := FindWindowEx(wnd, 0, 'MSAWT_Comp_Class', nil);
bis auf das Applet selbst.

Nun weiß ich leider nicht weiter. Könnte mir jemand helfen?

MfG
Marcus

mkinzler 25. Aug 2006 10:41

Re: Auf Java-Applet zugreifen...
 
Da das Applet in einer Sandbox läuft, wirst du von außen nicht zugreifen können.

TypusMensch 25. Aug 2006 10:57

Re: Auf Java-Applet zugreifen...
 
Schade... muss ich wohl doch halt nen kleinen IRC-Client basteln... nun gut. Kann auch auch nicht schaden. Danke für die Info... zumal ich nun wieder was gelernt habe: den Begriff Sandbox kannte ich auch noch nicht. :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz