PDA

View Full Version : Strings for Binary Data



Focus
14-Nov-2019, 10:00 AM
Congratulations on the first release

I've had a very light skim read of the doc (definitely missing out point 6 :D)

I've not installed the preview

In the section that is called "Strings for Binary Data" it says we should use UChar arrays.

Does that mean things like cHTTPTransfer have a new interface for OnDataReceived, HttpPostRequest etc or they are staying as is for the short term for backward compatibility and we just have to move them to UChar[] straight away before doing anything with them or back the other way to pass them out

Harm Wibier
14-Nov-2019, 10:17 AM
Good point! We haven't looked at cHttpTransfer yet, we'll certainly consider changing it to use UChar arrays.

Focus
14-Nov-2019, 10:33 AM
I'm sure it won't be the only area some of the more obscure/specialised ones might be cXMLDOMDocument - AddCDataSection

Stephen W. Meeley
20-Dec-2019, 09:50 AM
We've just published Technology Preview 2 (20.0.2) and we've updated OnDataReceived to OnDataReceivedUC with full support for UChar arrays. See the updated "Working with the DataFlex 2020 Technology Preview (https://www.dataaccess.eu/Working-with-the-DataFlex-2020-Technology-Preview.pdf-f736)" document for more information.