![]() |
C++ size_t , was entspricht hier in delphi ?
geht um diesen code Block
Delphi-Quellcode:
size_t f_recnumber;
size_t f_reclength; |
AW: C++ size_t , was entspricht hier in delphi ?
Wenn ich mich nicht täusche sind das UInts, also Cardinal müsste passen.
|
AW: C++ size_t , was entspricht hier in delphi ?
Size_t entspricht NativeUint in Delphi.
Es ist ein platform abhängiger typ. In 32 Bit Systemen uint umd i 64 Bit Uint64 |
AW: C++ size_t , was entspricht hier in delphi ?
Übersetzt du ein komplettes Program oder musst du binärkompatibel sein? Im Prinzip kann size_t
![]() |
AW: C++ size_t , was entspricht hier in delphi ?
![]() In deiner Delphi-Version wäre das System.UIntPtr (System.NativeUInt). In der Windows API gibt es zum Beispiel den Alias Winapi.Windows.SIZE_T (Winapi.Windows.ULONG_PTR). |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:11 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 by Thomas Breitkreuz