[fpc-devel] Re: Changing Windows API A routines in SysUtils to W in Windows NT
Thaddy
thaddy at thaddy.com
Mon Feb 6 21:50:34 CET 2012
On 6-2-2012 21:41, Sven Barth wrote:
>
> But in FPC you'll need to recompile the Windows RTL if you want to
> have UNICODE defined (thus having e.g. CreateProcess default to
> CreateProcessW instead of CreateProcessA). In C you just include the
> header with the define either defined or not.
Nope, again no: this has to do with the RTL/FCL
Any KOL program (try it) compiles in either unicode (-dUNICODE_CTRLS
--Mdelphi -uFPC -dVER150) or ansi (skip the unicode_ctrls) and just
plain works as expected. Not only with a Delphi compiler, also with fpc
2.6.0 and higher.
This has nothing to do with the compiler itself. That behaves already
like it should.
-------------- 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/b6e11234/attachment.bin>
More information about the fpc-devel
mailing list