Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Compiling Unicode version of edbutilcomps.pas
Mon, Dec 29 2008 3:47 AMPermanent Link

Phil Read
Hi Tim & Team,

When compiling the extra utils into a package with the edbutilcomps.pas
found in the UNICODE version I get the following errors:

[DCC Warning] edbutilcomps.pas(1937): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'
[DCC Warning] edbutilcomps.pas(2179): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'
[DCC Error] edbutilcomps.pas(2691): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2833): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2844): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2857): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2933): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2934): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2945): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2946): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2959): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Error] edbutilcomps.pas(2960): E2010 Incompatible types: 'Char' and
'AnsiChar'
[DCC Warning] edbutilcomps.pas(3157): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'
[DCC Warning] edbutilcomps.pas(3459): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'
[DCC Warning] edbutilcomps.pas(6684): W1057 Implicit string cast from
'AnsiString' to 'string'
[DCC Warning] edbutilcomps.pas(8082): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'
[DCC Warning] edbutilcomps.pas(8669): W1058 Implicit string cast with
potential data loss from 'Char' to 'AnsiString'

etc etc

If I install the NON unicode version and compile a package using the
edbutilcomps.pas found in the NON-UNICODE version the extra components
are installed perfectly.

Is there a fix for this?
Mon, Dec 29 2008 3:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Phil,

<< When compiling the extra utils into a package with the edbutilcomps.pas
found in the UNICODE version I get the following errors: >>

You need to make sure that you compile the package with this directive:

EDB_UNICODE

That is the universal directive used in ElevateDB to tell a unit that you
are using the Unicode version.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Dec 29 2008 4:07 PMPermanent Link

Phil Read
Thanks Tim, that worked a treat, so easy too.

Hope you have a great Christmas!
Image