I will try to do it later. thank you for suggestion.
It appeared a little bit messy. The place where I put the {$I cxVer.inc} statement is wrong, because it interferes with definitions in sDefs.inc (in particular it defines symbol Delphi5, which is wrong).
The following construct (although messy, I admit) will work:
Code:
{$I cxVer.inc}
{$undef DELPHI5} // Let sDefs.inc redefine this one