#1 2015-07-16 09:03:56

mike76
Member
Registered: 2015-06-16
Posts: 18

SynCommons TRIM breaks widestring under Delphi 7

Hi,

Using Delphi 7, added SynCommons to our uses and all of a sudden our widestring labels were not displaying correctly.
Had to track the problem for 30 mins to the TRIM function defined in SynCommons. After comment it, everything is OK again.

Is TRIM and POS functions extensively used in the sqlite3 db?
Is it possible to fix it for Delphi 7 or is OK just to comment it out?

Thanks.

Offline

#2 2015-07-16 15:16:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: SynCommons TRIM breaks widestring under Delphi 7

Try to put SysUtils.pas AFTER SynCommons in your uses clause.

Offline

#3 2015-07-16 18:23:57

mike76
Member
Registered: 2015-06-16
Posts: 18

Re: SynCommons TRIM breaks widestring under Delphi 7

Yes, this seems to fix the issue. Thanks

Offline

Board footer

Powered by FluxBB