ReallocMem Procedure

Applies to TestComplete 15.68, last modified on October 03, 2024

The ReallocMem procedure reallocates dynamic memory.

Declaration

ReallocMem(VarSize) Parameters
Var [in, out] Required Variant
Size [in] Required Integer
Result     None  

Description

Changes the size of an allocated memory block that was allocated earlier with the GetMem procedure.

Parameters

The procedure has the following parameters:

Var

Returns the address of the reallocated memory block.

Size

Specifies the size of the reallocated memory block.

See Also

DelphiScript - List of Supported Routines and Variables
FreeMem
GetMem

Highlight search results