C
cqwty
Unregistered / Unconfirmed
GUEST, unregistred user!
我想写一个控制台程序,但是用到了indy里面的控件,下面就是我写的代码,但是不能编译,
请大家帮我看看,
program TFtpServer;
{$APPTYPE CONSOLE}
uses
SysUtils,IdBaseComponent, IdComponent, IdUDPBase, IdUDPServer,
IdTrivialFTPServer;
var
ftpserver1:IdTrivialFTPServer;
begin
ftpserver1:=IdTrivialFTPServer.Create;
end.
请大家帮我看看,
program TFtpServer;
{$APPTYPE CONSOLE}
uses
SysUtils,IdBaseComponent, IdComponent, IdUDPBase, IdUDPServer,
IdTrivialFTPServer;
var
ftpserver1:IdTrivialFTPServer;
begin
ftpserver1:=IdTrivialFTPServer.Create;
end.