As I just mentioned, most of the string and character based operations recompile and migrate smoothly. However, there are some that don't and will require a fix in the code.
A large amount of Pascal, Turbo Pascal, Object Pascal, and Delphi's Object Pascal code assumes that the size of a character is a byte. All of this code can potentially fail when moving to Delphi 2009. As we'll see in the section about Fillchar below, to get the actual size in bytes of a string you should always multiply the string length by the StringElementSize value, as a character often requires two bytes (but not always).
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.