F
Fairys
Unregistered / Unconfirmed
GUEST, unregistred user!
发下过程在调用第二次时出错,不知是何原因?
我在工程中加入了一个QuickReport。函数的目的是调用这个QuickReport。
void __stdcall PrintTable(char *cTitle)
{
QuickReport1 = new TQuickReport1(QuickReport1);
QuickReport1->lblTitle->Caption = cTitle;
QuickReport1->Print();
delete QuickReport1;
}
我在工程中加入了一个QuickReport。函数的目的是调用这个QuickReport。
void __stdcall PrintTable(char *cTitle)
{
QuickReport1 = new TQuickReport1(QuickReport1);
QuickReport1->lblTitle->Caption = cTitle;
QuickReport1->Print();
delete QuickReport1;
}