[fpc-devel] Changing Windows API A routines in SysUtils to W in Windows NT

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Feb 6 17:39:55 CET 2012


SysUtils for Windows utilizes only A Windows APIs, while it could use
W APIs in Windows NT. The attached patch starts correcting improving
the situation.

Advantages of the patch:

* Allows for unicode file names in TStringList.LoadFromFile if you
install paswstrings as the unicode manager.

Disadvantages of the patch:

* None that I can imagine.

Waiting for comments.

Felipe Monteiro de Carvalho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicodesysutils.diff
Type: application/octet-stream
Size: 1587 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120206/48692fa0/attachment.obj>

More information about the fpc-devel mailing list