PToLStr (LabVIEW Manager Function)

int32 PToLStr(pstr, lstrp);

Purpose

Converts a Pascal string to a LabVIEW string. This function works even if the pointers pstr and lstrp refer to the same memory location. The function assumes lstrp is large enough to contain pstr.

Parameters

Name Type Description
pstr PStr Pointer to a Pascal string.
lstrp LStrPtr Pointer to a LabVIEW string.

Return Value

The length of the string.