Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Problem mit TidTCPClient (https://www.delphipraxis.net/8054-problem-mit-tidtcpclient.html)

Illuminator-23-5 27. Aug 2003 17:47


Problem mit TidTCPClient
 
Ich hab mir ein kleines Tut vorgenommen
http://www.tutorials.delphi-source.d.../file002.shtml
nur bin ich da auf ein Problem gestoßen:
with TCPClient do begin
...
lstMain.Items.Add(ReadLn);
...

bei mir der TCP-Client Kennt kein lstMain!!
kennt jemand ein anderes tutorial oder kann mir jemand weiterhelfen?

S - tefano 27. Aug 2003 18:58

Re: Problem mit TidTCPClient
 
lstMain könnte eine Listbox sein, die für das Tutorial verwendet wurde.
Setz mal eine Listbox auf deine Form und nenn sie lstMain, dann nochmal probieren.

Bis dann,

S - tefano

Illuminator-23-5 27. Aug 2003 19:34

Re: Problem mit TidTCPClient
 
:wall: - ich depp ich - :wall:

2.Versuch, mit der listbox:
Fehlermeldung:
Project Project1.exe raised exception class EIdSocketError with message 'Socket Error # 10049 Cannot assign requested address.'. Process stopped. Use Step or Run to continue

S - tefano 27. Aug 2003 19:55

Re: Problem mit TidTCPClient
 
Ich kenn die Demo jetz nich gerade auswendig, aber es kann sein dass das Programm bzw. der TCPClient sich beim Starten mit einer vorher bestimmten IP verbinden will, die es bei dir im Netzwerk oder so u.U. nicht gibt...


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:45 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