“Aceess violation at address 004dc274 in module 'PROJECT.EXE',Read of address FFFFFFFF”
出错信息如上所示,一般都是什么方面的错误哦!请教各位大侠。
还有就是Delphi中的函数定义是是如何!小弟定义如下不知有无错误哦!
function tt( var s1:integer):integer;
implementation
function tt( var s1:integer):integer;
begin
 s1:=frm_sxluru.ADOQuery2.fieldByname('ID').value;
end;
调用为tt(c1);其中ID的类型是int!