RE: Delphi 2009 and Strings

2009-05-05 Thread Robert Meek
! [Bertrand Russell 1872-1970] -Original Message- From: delphi-talk-boun...@elists.org [mailto:delphi-talk-boun...@elists.org] On Behalf Of Francois Piette Sent: Monday, May 04, 2009 7:44 AM To: Delphi-Talk Discussion List Subject: Re: Delphi 2009 and Strings Simply do a search and replace

RE: Delphi 2009 and Strings

2009-05-05 Thread Robert Meek
Discussion List Subject: Re: Delphi 2009 and Strings With all respect, but the code samples presented are really examples of bad coding. Personally I wouldn't expect this kind of code to survive such a transition. While again not my code and in 3rd party components, I think you will find

Re: Delphi 2009 and Strings

2009-05-04 Thread Francois Piette
Simply do a search and replace to change all occurrences of String type to AnsiString type. The compiler will automatically convert AnsiString to UnicodeString when it is necessary. This will work although you will not benefit from Unicode. I realize I'm missing something obvious here, but why

Re: Delphi 2009 and Strings

2009-05-03 Thread Cameron Cole
Borland may have made a change that will cause us to leave Delphi. The change in strings is creating a near epic conversion for us. We use a lot of third party controls and apparently it was pretty common to interchange AnsiString with String as well as use functions like StrPas. Bad