Search found 3 matches

by AndreasAtMBS
22.03.2013, 14:13
Forum: ZeosLib 7.0 Stable Forum
Topic: How to avoid "Implicit string cast"
Replies: 5
Views: 5139

Maybe I'm missing something or maybe my assumptions are wrong. Lets say I have a database that is ansi (8-bit encoded) and a variable of type fDepartment: ansistring. When I have the following statement: fDepartment := q.FieldByName('Department').AsString; I get the compiler message: W1058 Implicit ...
by AndreasAtMBS
21.03.2013, 22:31
Forum: ZeosLib 7.0 Stable Forum
Topic: How to avoid "Implicit string cast"
Replies: 5
Views: 5139

Thanks for the reply Jan. Actually I don´t want to get rid of the message, but not need the message. When I receive the message it means that the compiler will convert my ansi850 string to unicode and send this to Zeos which will convert it back to ansi850. Since Zeos knows that I will be storing th...
by AndreasAtMBS
08.03.2013, 14:49
Forum: ZeosLib 7.0 Stable Forum
Topic: How to avoid "Implicit string cast"
Replies: 5
Views: 5139

How to avoid "Implicit string cast"

I just migrated from Delphi 7 to XE3 and am testing the database (Using ver. 7.0.3). I have a TZConnection with the following parameters set: AutoEncodeStrings := true; ClientCodePage := 850; ControlsCodePage := cGET_ACP; My app works mostly with string type AnsiString(850). So, I have a variable st...