ReallocMem Procedure

Applies to TestComplete 14.10, last modified on June 5, 2019

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