我的程序是先:登陆窗体跟数据库模块一起创建!如果密码正确就弹出主窗体,弹出主窗体前执行:
Login.Free;
mainform.ShowModal;
这里是login窗体free,然后mainform主窗体显示。
主窗体弹出来我就退出程序按了关闭,这过程中没任何操作,关闭的时候执行下面:
dm.conn.Connected:=false;
dm.Free;
application.Terminate;//退出系统
之后提示:
提示错误:
Project shuifeip.exe raised exceptiom class EAccessViolation with message 'Access violation at address 00000000, Read of Address 00000000',Process stopped.Use Step or Runto continue.
Login.Free;
mainform.ShowModal;
这里是login窗体free,然后mainform主窗体显示。
主窗体弹出来我就退出程序按了关闭,这过程中没任何操作,关闭的时候执行下面:
dm.conn.Connected:=false;
dm.Free;
application.Terminate;//退出系统
之后提示:
提示错误:
Project shuifeip.exe raised exceptiom class EAccessViolation with message 'Access violation at address 00000000, Read of Address 00000000',Process stopped.Use Step or Runto continue.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货