开发者

Moving From Delphi7 to Delphi XE or 2010 for Unicode?

ive a news server Built on Delphi7, using Indy9 TId开发者_如何学运维TCPServer, and the clients are using TClientSocket from ScktComp for size, and the traffic is encrypted in RC4 (string)

what exactly do i need to make my app work on XE or 2010 with Unicode support? what of these things will i have to change?


Unicode has introduced in Delphi 2009, so if you want the unicode support you can do it with Delphi 2009.

But if you are going to upgrade, get the latest one, you can get all the benefits of Delphi 2010 with less bugs and more Third party tools bundled with Delphi XE.

the other problem may you face is the translation between Indy 9 to Indy 10, because unicode support added to Indy 10, but also it's not 100% compatible with Indy 9.

I suggest you to try to compile your application with Delphi 7 and Indy 10, then move later to Delphi XE with Indy 10.


Don't know if Indy 9 is still supported on XE and 2010. Indy 10 has improvements but also some breaking changes. Moving binary data into strings is IMHO never a good choice, but depending the situation it could just need some minor changes. What you exactly need depends on your application code - without actually looking at it is difficult to say. All string manipulation routine should be checked, especially if you use them as low-level binary buffers, and the select which path is best to port them to the Unicode world.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜