金
金玉清
Unregistered / Unconfirmed
GUEST, unregistred user!
if not assigned(frmitem) then
begin
frmItem := tfrmitem.Create(nil);
if frmitem.ShowModal <> mrok then
begin
application.Terminate;
end;
freeandnil(frmitem);
end
else
frmitem.Show;
这是创建窗体的代码
当用鼠标点击右上角关闭窗体时出现下面的错误:
project ofxsangna.exe raised exception class EAcessViolation with message
'Access Violation at adress 00403508 in moudule 'ofxsangna.exe',read of adress
00D74000',process stoped.use step or run to continue.
这是什么原因呢,该如何解决呢,请各位高手帮忙。
谢谢!
begin
frmItem := tfrmitem.Create(nil);
if frmitem.ShowModal <> mrok then
begin
application.Terminate;
end;
freeandnil(frmitem);
end
else
frmitem.Show;
这是创建窗体的代码
当用鼠标点击右上角关闭窗体时出现下面的错误:
project ofxsangna.exe raised exception class EAcessViolation with message
'Access Violation at adress 00403508 in moudule 'ofxsangna.exe',read of adress
00D74000',process stoped.use step or run to continue.
这是什么原因呢,该如何解决呢,请各位高手帮忙。
谢谢!