[Lazarus] String vs WideString

Luca Olivetti luca at wetron.es
Tue Aug 15 19:29:23 CEST 2017


El 15/08/17 a les 11:25, Michael Van Canneyt via Lazarus ha escrit:

> 
> Attempting to store binary data in a string is not advisable. Dynamic 
> arrays, TBytes and - in the worst case - TBytesStream are powerful 
> enough to
> cover most use-cases in this area.

I has worked extremely well and reliably until fpc 2.6.4 (i.e. with 
string=ansistring).
Does it not work in 3.x?
If not it's a big problem, not only for my code (that I can, 
reluctantly, change) but for 3rd party libraries/components (e.g. 
synapse comes to mind)

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the Lazarus mailing list