Jump to content

Morphumax

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Morphumax

    Help With NetCom7

    Thanks for your help. I think I'm going to try Internet Component Suite now as it seems to be more widely used. M
  2. Morphumax

    Help With NetCom7

    Yeah, I think I need to use the return value type of Create.
  3. Morphumax

    Help With NetCom7

    Does Delphi not just use procedures and functions? Delphi. I just tried to copy the parameters specified in the hint box. There were quite a few.
  4. Morphumax

    Help With NetCom7

    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
×