944,162 Members | Top Members by Rank

Ad:
Sep 10th, 2005
0

Client Server Applications

Expand Post »
Hi everyone,
I have recently started learning Delphi, and use Delphi 2005, I am following a tutorial on making a client server application, however it says this is the code i need to use in the on connect event on my TCP/IP Client Object, however i get an undeclared identifier 'TCustomWinSocket' error and this prevents it from running the relevant code follows does anyone have any suggestions? many thanks!

procedure TForm1.tcpClientConnect(Sender: TObject;
Socket: TCustomWinSocket);
begin
lblStatus.caption := 'Connected!';
cmdConnect.enabled = false;
cmdDisconnect.enabled = true;
end;

-Aldur
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Aldur is offline Offline
1 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: TChart - [Fatal Error] File not found: TeeConst.pas
Next Thread in Pascal and Delphi Forum Timeline: Loop stopping short





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC