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

Thaddy thaddy at thaddy.com
Mon Feb 6 21:30:56 CET 2012

On 6-2-2012 21:04, Craig Peterson wrote:
> Delphi does the same thing, except the change was built into the 
> language, rather than done using a conditional symbol, and the A or W 
> decision was hard-coded rather than wrapping them in {$IFDEF UNICODE} 
> blocks. 
I am not sure about this, (I do not know if the latest production 
version has this) but I think you can (could) undefine unicode.
I propose FPC follows a similar strategy.
We already did it for Kol, which has a (almost) totally opaque 
KOLstring/char type depending on switching on UNICODE_CTRLS or ANSI.
(And we had that switch some  time before FPC)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2768 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120206/30df58ea/attachment.bin>

More information about the fpc-devel mailing list