Reputation: 3056
I am trying to migrate DevExpress TdxDBGrid for Unicode applications and the lack of non-Unicode TStringList is the only obstacle for completing the migration. I have tried to use TAnsiStringList from JcLAnsiString (from Jedi/Jcl open source project) and while it works, it includes too many dependencies on Jedi/Jcl framework. Generally my plan is to use migrated TdxDBGrid for working with unicode data, but TAnsiStringList is required for internal actions - like storing bookmarks, selected rows and so on.
Is the more lightweight non-Unicode TStringList (with less dependencies)?
Upvotes: 3
Views: 5092
Reputation: 3432
Not sure what functionality of TStringList you use, but you can try generic TList<AnsiString>
instead of TStringList
for your task. If the only reason to use AnsiString type instead of String is keeping internally some strings, maybe it will be enough.
Upvotes: 1