Having native Unicode support in Delphi is a big step forward, and the fact you can continue to use the String type means you can port existing code simply at the cost of recompiling. This change is a big change. From calls to the Windows API to the use of PChar pointer only for the pointer math support, there are many areas of Delphi for which you can expect the migration not to be so easy and straightforward. This chapter delves into those and other possible problems.
Before we dive into the chapter, be aware that if you need to keep compiling your code in past versions of Delphi you can take advantage of the UNICODE compiler directive, which is defined by the Delphi 2009 compiler. So you can write code snippets that won't compile in previous versions of Delphi by writing:
Was this article helpful?
What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.