Hello
I am new to Delphi and I am trying to use the NetCom7 library in order to upgrade an existing Client-Server application from Delphi 7 to Delphi 11. The existing code uses Indy10.
Currently, I am simply trying to make the NetCom7 ChatDemo work. I am using the instructions below taken from https://github.com/DelphiBuilder/NetCom7.
I have added a TncServerSource to the Server form and I have added a TncClientSource to the Client form.
I am trying to implement an OnHandleCommand event handler now.
Below is some of my Server code.
procedure HandleCommand(Sender: TObject; aLine: TncLine; aCmd: Integer; aData: TGUIDHelper.Create(System.TArray<System.Byte>,
System.Types.TEndian).:1<Byte>, aRequiresResult: Boolean; aSenderComponent: string; aReceiverComponent: string);
procedure TfrmMain.btnActivateServerClick(Sender: TObject);
begin
try
Server.OnHandleCommand := HandleCommand();
Server.Active := not Server.Active;
I am currently getting an error on line 1 saying Unsatisfied forward or external declaration.
Any help/examples would be appreciated.
Thanks
M