Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   There is a way to convert ‘array of const’ (open array) to TValue: Asbjørn Heid found (https://www.delphipraxis.net/193416-there-way-convert-%91array-const%92-open-array-tvalue-asbj%F8rn-heid-found.html)

DP News-Robot 27. Jul 2017 12:20

There is a way to convert ‘array of const’ (open array) to TValue: Asbjørn Heid found
 
Brilliant solution by*Asbjørn Heid: So the solution I came up with is to use the observation that the “array of const” is “array of TVarRec”, and that “array of TVarRec” is passed as as two arguments: a pointer to the data and the length of the array (or rather, ...http://feeds.feedburner.com/~r/delph...~4/aeUxPsPe3FY

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz