Hi Michael,
All taxes well until you run the program in Windows 32. The machine on which work is Windows 7 64 and varchar fields are read as TWideStringField, but when the same program compiled on my machine I run it on XP 32 or Windows 2003 Server, varchar fields are read as TStringField.
Greetings.
[solved] Windows 32 / 64 problem with TWideStringField
Moderators: gto, EgonHugeist, olehs
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
cfc,
imbelievable for me. About which protocol do we talk now? Zeos-Egonhugeist does decide which FieldType is needed on the client-characterset. If this an encoded one then the TWideStringField is correct. If this one is an Ansi encoded one then the TStringField is choosen.
Question did you set the TZConnection.ClientCodePage? If not then Zeos has an different behavior if your engine default encoding differs...
But i can not believe that this issue has dependencies to the 32/64Bit environment.
Michael
imbelievable for me. About which protocol do we talk now? Zeos-Egonhugeist does decide which FieldType is needed on the client-characterset. If this an encoded one then the TWideStringField is correct. If this one is an Ansi encoded one then the TStringField is choosen.
Question did you set the TZConnection.ClientCodePage? If not then Zeos has an different behavior if your engine default encoding differs...
But i can not believe that this issue has dependencies to the 32/64Bit environment.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
cfc,
thank you for repley. Case closed...
Michael
thank you for repley. Case closed...
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/