]、。·ˉˇ¨〃々—~‖…’”〕〉》」』〗】∶!"'),.:;?]` 设置主窗体visible位false是不行的
我想你肯定没有试过!
正确的做法是在工程文件里面加一句话,就想下面这样
program Server;
uses
Forms,
Main in 'Main.pas' {ServerForm};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(TServerForm, ServerForm);
Application.ShowMainForm := False;//这句话隐藏主窗口
Application.Run;
end.