呵呵,可能是Delphi的BUG吧! 用VC也常出现死掉的情况,特别是在Win95下!

解决方案 »

  1.   

    如果窗体上有数据库相关的控件,则应该是著名的bug
    Area: database\ado
    Reference Number: 114766 Status: Fixed in Delphi 6 Update Pack 
    Date Reported: 7/2/01Severity: SeriousType: CrashProblem:A problem occurs when opening a form in the IDE 
    that has a TADOQuery.  If the query is active, and if 
    the connection is no longer valid, the IDE closes 
    without any warning.The same occurs if a form with an active 
    TADOQuery is created before the datamodule that 
    contains the associated TADOConnection.这个是borland对这个bug的描述
    建议安装sp2
      

  2.   

    若FROM 上有数据控件,如果没将其设置为关闭状态,则下次打开时就会出现这种情况,在DELPHI6中就会有这样的情况, 我的解决办法就是用文本编辑工具打开相应的*.dfm格式文件将里面的数据控件的active= true,将其设置为active= false 然后存盘再用DELPHI就可以正常打开啦。