ReallocMem Procedure

Applies to TestComplete 15.45, last modified on December 01, 2022

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