VCL類的析構函數如何寫?
勉励前行 2002-07-05 04:00:45 //這個析構函數如何做
class TForm1: public TForm
{__fastcall TForm1(TComponent *Owner);
~TForm1(); //錯
~TForm1(TComponent *Owner); //錯
visiul ~TForm1(TComponent *Owner); //還是錯
visiul __fastcall ~TForm1(TComponent *Owner); //還是錯
}
//我不不不想用析構事件。