Page 1 of 1

compilation src 5.01

Posted: Fri 31 May 2013 12:25
by lao
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,

Re: compilation src 5.01

Posted: Fri 31 May 2013 12:46
by AlexP
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.

Re: compilation src 5.01

Posted: Fri 31 May 2013 13:26
by lao
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

Re: compilation src 5.01

Posted: Mon 03 Jun 2013 09:15
by AlexP
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