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'