> I create a socket in my source code : 
> ServerSocket1: TServerSocket;
> but when i compile or save he tell me that there is no
> correspondent component
> and when i execute and try to create a server socket:
> ServerSocket1.Port := 90;
> he show me this message :
> violation access at the adress 00457088 in the module
> project1.EXE reading at the adresse 00000034
> what's the problem

You must move the declaration of ServerSocket1 to the private section.
Yu must call the constructor before using any method, variable or event.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to