The problem is that I can't use unicode. Reason being is that the end result is an archive with 3000+ files in it. This data is fed to another application that uses it for Ansi Win32 API calls so I would have to do the conversion to ansi anyway. I'd rather spend more time converting while compiling then while decompiling.
Main Topics
Browse All Topics





by: den4bPosted on 2009-08-20 at 04:47:51ID: 25141235
I had a similar problem, and I discovered an elegant solution for using Unicode strings in records. You can use this new ShortUnicodeString type in records instead of ShortString, and use it in assignments with normal strings (seamlessly). For this I used new feature in Delphi 2009, so it is not going to work in earlier versions.
Select allOpen in new window