JCL Help:PCharVectorToStrings@TJclAnsiStrings@PAnsiCharVector

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a PCharVector to a stringlist.


Pascal

 procedure PCharVectorToStrings(const Dest: TStrings; Source: PCharVector);
procedure PCharVectorToStrings(const Dest: TJclAnsiStrings; Source: PAnsiCharVector);


Parameters

Parameters Description
const Dest: TStrings List which recieves the elements in the PCharVector.
Source: PCharVector PCharVector from which to retrieve the elements.


Description

A PCharVector is an array of PChar's where each PChar points to a null terminated string. The array is delimited by a nil (NULL) pointer. In the Windows API this is usually typed as a PPSTR. This function takes such a PCharVector and converts it to a stringlist. Note that the memory for the PCharVector is not freed by this function.


See Also

PCharVectorCount StringsToPCharVector FreePCharVector


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