请教高手,我在多线程中打开一个数据模块的ClientDataSet为什么老是报错!
请教高手,我在多线程中打开一个数据模块的ClientDataSet为什么老是报错!
感激涕零!
__fastcall TDown::TDown(bool CreateSuspended)
: TThread(CreateSuspended)
{
}
void __fastcall TDown::Execute()
{
DMDown->ClientDataSet1->Close();
DMDown->ClientDataSet1->Open();
}
Project Update.exe raised exception class EVariantInvalidArgError with message 'Invalid argument',Process stopped.....