[fpc-pascal] Unicodestrings and Assign(File)

Bernd prof7bit at googlemail.com
Fri May 18 19:46:17 CEST 2012

2012/5/13 Sven Barth <pascaldragon at googlemail.com>:

> Currently the Windows RTL uses (nearly?) always the Ansi functions
> (exception might be WinCE as there the Ansi functions don't exist), so using
> TFileStream won't help here.

Does AssignStream() also accept any other THandleStream? Maybe you can
just make your own TFileStream descendant with a slightly different
constructor that is using the widestring file open API? Maybe you
could then use such a customized stream with AssignStream()?


More information about the fpc-pascal mailing list