打印

[提问] delphi 用sendStreamToServer出错

delphi 用sendStreamToServer出错

请问一下,在delphi里我定义了function SendStreamToServer(AThread:TIdPeerThread;Cmd:String): Boolean;这个函数后,在调试出出现了下面的情况,请问该怎么办?是什么原因,怎么解决??
[Error] Unit1.pas(28): Unsatisfied forward or external declaration: 'TForm1.SendStreamToServer'
  [Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'

TOP

一个未得到满足的外部声明。

检查函数的声明位置和参数设定
安全检测交流群:41930748  <新手勿入>
爱好技术扯淡群:67320283

我用SOCKET编程,如何用多线程??

在delphi 里,我用Socket编程(不是idtcpserver和idtcpclient)我想用线程,然rg

TOP

2楼的正解,检查function配置

Processed in 0.069080 second(s), 5 queries, Gzip enabled