H
hawkfly
Unregistered / Unconfirmed
GUEST, unregistred user!
我用BCB的File|New|Report设计了一个报表,Name=MyReport;
但在程序中动态生成时系统提示:
[C++ Error] Main.cpp(29): E2125 Compiler could not generate default constru
ctor for class 'TMyReport'
我的程序段为:
TMyReport * MyReport;
MyReport=new TMyReport(Owner);
MyReport->Preview();
delete MyReport;
请告诉我应该如何改写?
但在程序中动态生成时系统提示:
[C++ Error] Main.cpp(29): E2125 Compiler could not generate default constru
ctor for class 'TMyReport'
我的程序段为:
TMyReport * MyReport;
MyReport=new TMyReport(Owner);
MyReport->Preview();
delete MyReport;
请告诉我应该如何改写?