首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

delphi运行有关问题

2012-02-23 
delphi运行问题运行就出错,projectlogindemo.exeraisedexceptionclasseaccessviolationwithmessageaccessv

delphi运行问题
运行就出错,

project   logindemo.exe   raised   exception   class   eaccessviolation   with   message   'access   violation   at   address   00456326   in   module 'logindemo.exe '.read   of   address   000002f4 '.process   stopped.use   step   or   run   to   continue.

这个是我在做点击按钮跳出新窗口时出现的...

请高手指教!



[解决办法]
你的GuessFm没有创建怎么直接就show了?

方法1
Application.CreateForm(TForm1, Form1);
//加入guessfm创建
Application.CreateForm(TFormLogin, FormLogin);
方法2

with TGuessFm.Create(Owner) do
begin
show;
end;

热点排行