RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EInvalidPointer Class

EInvalidPointer is the exception class for invalid pointer operations.

Pascal
EInvalidPointer = class(EHeapException);
C++
class EInvalidPointer : public EHeapException;

SysUtils

EInvalidPointer is raised when an application attempts an invalid pointer operation. For example, it can occur if an application tries to dispose of the same pointer twice, or refers to a pointer which has already been disposed of.

Note: Never raise an EInvalidPointer exception directly. EInvalidPointer is raised internally by the memory manager.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!