我在有一个form1.show 里如下写
当我运行完第一次关闭窗体,在运行就出错(第一次不出错)税碰到过这种情况,帮我分析一下!!!err:
project xxx.exe raised exception class EAccessViolation
with message 'Access violation at addrees 0048fc61 in module
xxx.exe '. Read of address ffffffff'. process stoped .
use step or run to continue.with datamodule1 do
begin
Query1.Close;
Query1.SQL.Clear;
Query1.SQL.Add('select * from table1 ');
Query1.Open;
DataSource1.DataSet := Query1; //这儿出错!!!!
dbgrid1.datasource:=DataSource1;
end;
当我运行完第一次关闭窗体,在运行就出错(第一次不出错)税碰到过这种情况,帮我分析一下!!!err:
project xxx.exe raised exception class EAccessViolation
with message 'Access violation at addrees 0048fc61 in module
xxx.exe '. Read of address ffffffff'. process stoped .
use step or run to continue.with datamodule1 do
begin
Query1.Close;
Query1.SQL.Clear;
Query1.SQL.Add('select * from table1 ');
Query1.Open;
DataSource1.DataSet := Query1; //这儿出错!!!!
dbgrid1.datasource:=DataSource1;
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货