Delphi 2007 and Special Unicode Build - how to?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vunalodge
Posts: 2
Joined: Fri 19 Aug 2011 13:20

Delphi 2007 and Special Unicode Build - how to?

Post by vunalodge » Fri 19 Aug 2011 13:55

Hi there,
We are using corlab for ages with no problem. Now for certain reason we have to manage UTF8 with delphi 2007.
Why is there a "normal" and a special "unicode build" for it? Does it mean we are going to brake our other projects if we install the unicode?
Or may we install both parallel? Same with the sdac build.
Is there a description about this special case somewehre? I wrote already an Email to devart - but did not get any response.
Thanks for any help.

AndreyZ

Post by AndreyZ » Mon 22 Aug 2011 07:31

Hello,

You can use both MyDAC versions for Delphi 2007, but not at the same time. The difference between Unicode and non-Unicode versions is that if you want to use Unicode characters in the database structure (table names, field names), you should use MyDAC Unicode version. And if you are using Unicode characters only for field values, you can use MyDAC non-Unicode version. It's the same for SDAC.

vunalodge
Posts: 2
Joined: Fri 19 Aug 2011 13:20

Post by vunalodge » Mon 22 Aug 2011 07:42

Hi Andrey,

Thanks.
But for all that: why are there two versions at all?
I installed the unicode version on a test system with delphi 2007.
It seems i can compile all my old projects with this version of mydac and sdac.
Obviously the unicode version can also handle non-unicode tablenames and stuff.

So what for are the non-unicode versions for D2007? There must be a reason.

AndreyZ

Post by AndreyZ » Tue 23 Aug 2011 10:55

RAD Studio 2007 supports Unicode but not fully. That's why there are two versions of all DAC components: standard and with extended Unicode support. RAD Studio 2009 fully supports Unicode, that's why we don't need to have a special Unicode version for it (and for higher versions of RAD Studio too).

Post Reply