[DUG] XE2 string conversion question

John Bird johnkbird at paradise.net.nz
Tue Jan 17 19:49:26 NZDT 2012


Another question - I have seen several examples of coding using

{$IFDEF UNICODE}

Is UNICODE defined globally for XE2 somewhere, or do I need to put it in 
units that need this? (ie I do not know how to search for the scope of such 
compiler defines).  Help implies  it is defined universally in XE2, can 
someone confirm?

I have code that I wish to have backwards compatible to D2007 at least for 
now, so conditional  compilation is likely the best way to do it.


John Bird



More information about the Delphi mailing list