compilation src 5.01

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lao
Posts: 71
Joined: Wed 10 Dec 2008 10:56

compilation src 5.01

Post by lao » Fri 31 May 2013 12:25

Hi,
i try to compil src 5.0.1 with delphi 2007 and with unicode( i uncomment {$DEFINE UNICODE_BUILD} in dac.inc)
when i build dcldac105.dpk i have 2 errors:
1°) function {$IFDEF CRUNICODE}GetValueW{$ELSE}GetValue{$ENDIF}: string; override;
(error message DADesign.pas(97):E2037 Declaration of 'GetValueW' differs from previous declaration)

2°) ShellApi, DacVcl, HelpUtils;
(download.pas(55):F2063 Could not compile used unit '..\Design\helputils.pas'

regards,

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: compilation src 5.01

Post by AlexP » Fri 31 May 2013 12:46

Hello,

Unicode versions of our products are no more available and not supported. To work with Unicode, you should use older versions of the IDE.

P.S. All the code related to the Unicode version will be removed from the next version.

lao
Posts: 71
Joined: Wed 10 Dec 2008 10:56

Re: compilation src 5.01

Post by lao » Fri 31 May 2013 13:26

Hi, thank you for your reply.
and we don't need anymore to convert TStrings to Twidestrings:
before connection gettablenames need parameter Twidestring, now we can use Tstrings?
before i do this:
uniquery1.sql := TWideStrings(memo1.lines);
now i can do ?:
uniquery1.sql := memo1.lines;
Thanks

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: compilation src 5.01

Post by AlexP » Mon 03 Jun 2013 09:15

Hello,

In the previous UniDAC versions the SQL property had the TWideString type indeed, since version 5.0.1 this property has the TStrings type, therefore you don't need to map memo1.lines to TWideString

Post Reply