API:System.SysUtils.EInvalidPointer
Delphi
EInvalidPointer = class(EHeapException);
C++
class PASCALIMPLEMENTATION EInvalidPointer : public EHeapException
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
EHeapException is the exception class for errors related to heap-allocated memory.
System.SysUtils.EInvalidPointer inherits from System.SysUtils.EHeapException. All content below this line refers to System.SysUtils.EHeapException.
EHeapException is the exception class for errors related to heap-allocated memory.
EHeapException's descendants—EOutOfMemory and EInvalidPointer—are used to handle failed allocations of dynamic memory and invalid pointer operations.
Note: Memory for these exceptions is pre-allocated whenever an application starts and remains allocated as long as the application is running. Never raise EHeapException or its descendants directly.