田
田田
Unregistered / Unconfirmed
GUEST, unregistred user!
DLL中如何使用TTABLE控件调用数据库,程序如下:
MyTable :TTable;
begin
MyTable:=TTable.Create(Form1.Table1 );
//新建MyTable,继承FORM1中TTABLE控件
try
MyTable.DatabaseName :='DBDEMOS';
finally
MyTable.Free;
end;
end.
但是调用时内存报错!HELP!!!
MyTable :TTable;
begin
MyTable:=TTable.Create(Form1.Table1 );
//新建MyTable,继承FORM1中TTABLE控件
try
MyTable.DatabaseName :='DBDEMOS';
finally
MyTable.Free;
end;
end.
但是调用时内存报错!HELP!!!