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/)
-   -   Pointers are dangerous – twm’s blog (https://www.delphipraxis.net/205960-pointers-dangerous-%96-twm%92s-blog.html)

DP News-Robot 4. Nov 2020 05:11

Pointers are dangerous – twm’s blog
 
TL;DR Do not keep pointers to objects in memory that can be relocated. SetLength can relocate the memory [WayBack] Pointers are dangerous – twm’s blog Via:*[WayBack] Pointers can be really helpful, especially they can improve performance and readability, but they are also dangerous. I spent nearly a day tracking down… – Thomas Mueller (dummzeuch) – […]

Weiterlesen...


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

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