ReallocMem Procedure

Applies to TestComplete 15.47, last modified on January 20, 2023

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