2012/5/13 Sven Barth <pascaldra...@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()?
(Untested)

Bernd
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to