On that note, and because I have done NO reading on the subject, my understanding is this with the unicode stuff<br>I use AsyncPro with delphi 7.<br>When data is received in the onreceived event, the data is passed in as a char. you get told how big the buffer is and you jsut loop that many times to get the availible chars.<br>
I just add these chars to a a string.<br><br>Now under Delphi 2009/2010, this would no longer be right? The char might be a unicode char?<br>Also, if I have a string, declared AS a string. i.e. mystring:string and I go mystring[99] which currently in delphi 7 might be "x" it wont be that in 2009/2010.<br>
<br>Is that about the short of it??<br><br>Jeremy<br><br><br>my biggest far of moving to D2009/2010 witht he unicode is that I use AsyncPro and also<br><br><div class="gmail_quote">On Thu, Oct 15, 2009 at 4:00 PM, Jeremy North <span dir="ltr"><<a href="mailto:jeremy.north@gmail.com">jeremy.north@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I strongly suggest forming your own opinion. While I don't read the<br>
blog I've converted a number of applications to Delphi 2009 / 2010 and<br>
haven't come across anything that was a great hassle to fix. Perhaps I<br>
didn't run into any issues raised in the blog, who knows. You never<br>
will know if you don't try it and I highly doubt they (Embarcadero)<br>
will change the implementation now.<br>
<br>
There is a Delphi 2010 trial you can download.<br>
<br>
Worst case scenario you could just change all strings to AnsiString<br>
and all Chars to AnsiChar. You'll still need to be wary anyway.<br>
<br>
A component suite I sell works for Delphi 5 to Delphi 2010 and<br>
supports unicode from Delphi 2006 onwards - even on Win9x machines.<br>
Naturally the custom unicode support had to be turned off for Delphi<br>
2009 and above and there were only minor code changes throughout.<br>
<br>
Separate Ansi and Unicode VCLs are not a viable solution. Delphi does<br>
cop a whack because of C++ support though.<br>
<div><div></div><div class="h5"><br>
On Thu, Oct 15, 2009 at 1:36 PM, Paul A Norman <<a href="mailto:paul.a.norman@gmail.com">paul.a.norman@gmail.com</a>> wrote:<br>
> Dear Paul,<br>
> "The only hassle is porting from D7 to D2010 with respect to Unicode."<br>
> After reading a very comprehensive blog by Jolyon Smith, I am quite<br>
> concerned about D.s current unicode support. I've had enough trouble with<br>
> it in other environments to want to face the maze that appears to be there<br>
> from what Jolyon wrote.<br>
> Paul<br>
><br>
> 2009/10/14 Paul Hectors <<a href="mailto:paul.hectors@gmail.com">paul.hectors@gmail.com</a>><br>
>><br>
>> re: 64bit vs cross platform<br>
>><br>
>> I totally understand why Jolyon and others that want 64 bit are<br>
>> peeved. Embarcadero has mislead them a number of times now and I was<br>
>> shocked to here in Auckland that it will be another 2 years.<br>
>><br>
>> However I am not one of those people waiting for 64 bit. I think<br>
>> Embarcadero has made some better moves so far by dropping Delphi .NET<br>
>> and utilising RemObjects compiler.<br>
>> Delphi 2010 looks to be a very good version, still early days for me<br>
>> but a lot of the features in D2010 is what I have personally been<br>
>> waiting for. The only hassle is porting from D7 to D2010 with respect<br>
>> to Unicode.<br>
>><br>
>> I think it is anyones guess whether Embarcadero are making the right<br>
>> move, what I do believe is that the face of desktop computing is<br>
>> changing. I think we are seeing the start of more platforms, different<br>
>> interfaces and major demand for mobile computing. In the mobility<br>
>> area, touch interface is definitely having an impact as the iPhone has<br>
>> rocked the market.<br>
>> What impact is the Google OS going to have over the next few years?<br>
>> What other players are going to come into the market? is the tablet PC<br>
>> going to replace the laptop?<br>
>><br>
>> One of my concern with cross platform is are Embarcadero targeting the<br>
>> right platforms. Should it be iPhone and or other mobile platforms?<br>
>><br>
>> Instead of compiling a simple app for different platforms, I would be<br>
>> a lot happier with a compiler and a vcl like library for the various<br>
>> mobile platforms.<br>
>><br>
>> My 2 cents.<br>
>> _______________________________________________<br>
>> NZ Borland Developers Group - Delphi mailing list<br>
>> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
>> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
>> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject:<br>
>> unsubscribe<br>
><br>
><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject:<br>
> unsubscribe<br>
><br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br>
</div></div></blockquote></div><br>