建议每个窗体都临时创建,不然多耗费资源啊。估计是资源不够引起的变异不通过。<br>在主工程里把<br>Application.Initialize;<br> Application.CreateForm(TForm1, Form1);<br> Application.CreateForm(TForm2, Form2);<br> Application.Run;<br>中只保留常用的,或一级主调窗体,其他的都临时在程序里创建。<br>procedure TForm1.Button1Click(Sender: TObject);<br>begin<br>Application.CreateForm(TForm2, Form2);<br>form2.show;<br>end;