Hi - you seem to be declaring but not creating your component.

Try adding

ServerSocket1 := TServerSocket.Create;

to your constructor.

Don't forget to free it later as well !!

Martin.


Barhouf <[EMAIL PROTECTED]> wrote:

> 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
> thanx
> 
> 
>
> 
>
>
> __________________________________________________________________ 
> D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
mails !
> 
> Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
> 
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
> 




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

Reply via email to