|Subject:||Can not assign a nil to a TIdScoketHandles|
|Posted by:||Grant Brown (gra…@sitedoc.com.au)|
|Date:||Sat, 7 Oct 2006|
Using D10 and Indy 10.
I am trying to create a TIdCmdTCPServer in code at runtime and I get
the following error.
"Can not assign a nil to a TIdScoketHandles"
I am assuming it is caused by on of the following but not sure what to
put in place of the "nil" values.
Can somneone show me what to do.
TCP_Cmd_Server1 := TIdCmdTCPServer.Create(nil);
with TCP_Cmd_Server1 do
Name := 'TCP_Cmd_Server1';
Bindings := nil;
ReplyTexts := nil;
OnStatus := TCP_Cmd_Server_Status;