Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 Delphi 2007 将我的应用程序从 Indy 9 升级到 10。这有很多问题,我已经阅读了有关更改的 indy 文档,但我仍然需要建议。这不会编译,因为未找到 ReadString。
vCmdHead := FTCPClient.ReadString(16);
其中 FTCPClient 的类型为 TIdTCPClient。vCmdHead 是一个包含命令字符串的结构。我可以改用什么方法?
{$IFDEF INDY10} ALine := IdTCPClient.IOHandler.ReadString(16); {$ELSE} Aline := IdTCPClient.ReadString(16); {$ENDIF}
像这样的东西