When a TForm is created in Builder (or Delphi) code is added to main
to create these forms at application launch:
Application->CreateForm( __classid( TxForm), &xForm );
this makes things easier, but is it wise when the applications has 10, 20, 50, 100 forms? I am assuming that this can grab all kinds of memory and system handles. The form can always be created on the fly when needed by removing it using the Project->Options->Forms dialog and:
std::auto_ptr< TxForm > myForm( new TxForm( this ));
myForm->ShowModal();
So the question is, which is better, to let C++ Builder do it its own way, or to manually create the form when required?