[fpc-pascal] Unicode filenames
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Sun Jun 29 20:39:30 CEST 2008
> procedure AnyFileRoutineInWin32(AFileName: widestring);
> begin
> if UnicodeEnabledOS then SomeWin32APIW()
> else AnsiToWideString(SomeWin32ApiA())
> end;
If you want even more details you can initialize UnicodeEnabledOS by
reading the operating system version and the operating system type
NT/9x very easely.
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list