На Delphi 2010 при открытие проекта вылетает окно Indy clien
Error Reading Form: 'Form"!'
Error reading IdTCPCIientl.MaxLineAction: Property MaxLineAction does not exist. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost.
unit client;
При компиляции появляется ошибка на
Code
IdTCPClient1.ReadBuffer(FileName^, 256);
[DCC Error] dient.pas(73): E2003 Undeclared identifier: 'ReadBuffer'
Code
IdTCPClient1.ReadBuffer(FileSize, SizeOf(FileSize));
[DCC Error] dient.pas(74): E2003 Undeclared identifier: 'ReadBuffer'
Code
IdTCPClient1.ReadStream(FS, FileSize);
[DCC Error] dient.pas(78): E2003 Undeclared identifier: 'ReadStream' Indy serv
Error Reading Form: 'Form1'
Error reading IdTCPServerl.CommandHandlers: Property CommandHandlers does not exist. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost. Error Reading Form: 'Form1'
Error reading IdTCPServerl.Greeting.NumericCode: Property
Greeting.NumericCode does not exist. Ignore the error and continue? NOTE:
Ignoring the error may cause components to be deleted or property values to be lost.
Error Reading Form: 'Form1'
Error reading IdTCPServerl.MaxConnectionReply.NumericCode: Property MaxConnectionReply.NumericCode does not exist. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost.
Error Reading Form: 'Form1'
Error reading IdTCPServerl.ReplyExceptionCode: Property
ReplyExceptionCode does not exist. Ignore the error and continue? NOTE:
Ignoring the error may cause components to be deleted or property values to be lost.
Error Reading Form: 'Forml'
Error reading IdTCPServerl.ReplyTexts: Property ReplyTexts does not exist.
Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost.
Error Reading Form: 'Form1'
Error reading IdTCPServerl.ReplyUnknownCommand.NumericCode: Property ReplyUnknownCommand. NumericCode does not exist. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost.
unit server;
Code
procedure IdTCPServer1Connect(AThread: TIdPeerThread);
[DCC Error] server.pas(27): E2003 Undedared identifier: TldPeerThread' Как запустить этот проект на Delphi 2010 ?
При запкске UDP_File_transfer не каких игноров не выскакивает но при компиляции возникает ошибка на строке
Client
unit UnitClientTrsFl
Code
ThreadUdp.OnSendBufferUdp:=IdUDPClient.SendBuffer;
[DCC Error] UnitClientTrsFl.pas(69): E2009 Incompatible types: 'Parameter lists differ'
Code
ThreadUdp.OnSendBufferUdp:=IdUDPClient.SendBuffer;
[DCC Error] UnitClientTrsFl.pas(247): E2009 Incompatible types: 'Parameter lists differ' Server
unit UnitServerTrsFl;
Code
idUDPServer.OnUDPRead:=UDPRead;
[DCC Error] UnitServerTrsFl.pas(75): E2010 Incompatible types: TldUDPListenerThread' and TObject'
Подскажите как запустить этот проект на Delphi 2010 ?