FROM B130594 ("Delphi 2009 - String fields are not correctly handled with the TcxPropertiesStore")
Additionally I would like to attract you attention to other cases in DevExpress code where tkUString and varUString are not processed. It is worthwhile to perform search for tkString, varString and similar patterns in all code and consider proper handling of new Unicode types. It seems to me that there are several other places that should be considered carefully.
Suspicious places (sorry if I am repeating already known and fixed problems, I simply want to make sure that nothing is missed):
1) Unit cxBarEditItem.pas
procedure WriteVariantProperty(AWriter: TWriter; AInstance: TObject;
const APropName: string);
2) Unit cxFilter.pas
function TcxFilterOperator.GetExpressionValue(const AValue: Variant): string;
procedure WriteVariantProc(AStream: TStream; const AValue: Variant);
and probably some other places
4) cxStorage.pas - should be considered carefully!
5) cxXLSExport.pas - may have obviuos problems with varUString
function TfmImageComboBoxItemsEditor.GetVarTypeName(AVarType: Word): string;
function TfmImageComboBoxItemsEditor.ValueToValueType(var AValue: Variant; AValueType: Word): Boolean;
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.