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;