JCL Help:FreePCharVector@PAnsiCharVector

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Frees a PCharVector


Pascal

 procedure FreePCharVector(var Dest: PCharVector);
procedure FreePCharVector(var Dest: PAnsiCharVector);


Parameters

Parameters Description
var Dest: PCharVector The PCharVector whose memory to free.


Description

FreePCharVector frees the memory pointed to by Dest and sets Dest to nil. Only hand in memory allocated by StringsToPCharVector. Freeing a PCharVector allocated by a Windows API function will crash your program.


See Also

PCharVectorCount StringsToPCharVector PCharVectorToStrings


About

Unit

JclAnsiStrings


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page