Problem Existing mysql project, WideString instead of String

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
User avatar
fduenas
Zeos Dev Team
Zeos Dev Team
Posts: 132
Joined: 26.08.2005, 08:12
Location: Cancún

Problem Existing mysql project, WideString instead of String

Post by fduenas »

Hi I'km having alittle problem migarting an existing project from delphi 2007 (zeos 6.6) to delphi XE (zeos 7). the database used is mysql 5.1, and now zeos expects a WideString intead of a string field,an all my TzQueries and tzqueries have TString fields, Zeos 7 requires this field to be TWideString.

How can I workarround this? fdo I have to change all the declarations from TStringField to TWideStringField? or is there aspecial switch to still using TStringFields?
User avatar
Pitfiend
Senior Boarder
Senior Boarder
Posts: 68
Joined: 12.12.2009, 07:27

Post by Pitfiend »

I had a similar problem. Try looking into your .dfm files, not only the .pas ones. Fix both and maybe you'll be fine.
Locked