MKI_HeapAlloc (Memory) New in Version 6.10

www.CAD6.com

C++ Syntax

void*

MKI_HeapAlloc(

 const size_t f_unSize );

 

Allocates a memory area in the application’s object data heap. When no longer needed, free the memory area using MKI_HeapFree.

 

Memory allocated and freed using this function will influence the display of "used memory" in the serving application.

 

Parameters

Size

[const size_t] Desired size of the buffer in bytes. If the size is 0, the function will return nullptr.

 

Return Value

Returns the address of the allocated memory area if successful, else nullptr.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH