Date added/modified: 17 Apr 2002
Although I prefer to use Delphi for all my products, sometimes I need to use C++ Builder for developing products for others. There is one major problem in C++ Builder, especially if you are coming from Delphi background.
In Delphi, one is used to initialize member variables of a form in FormCreate. Don't do that in C++ Builder. Instead, do that in the constructor for the form. The reason is that in C++ Builder, the FormCreate gets control first and then the constructor code is called. This causes problem with AnsiString variables. These lose values set in FormCreate.