int32 CToLStr(ConstCStr, LStrPtr);
Converts a C string to a LabVIEW string, even if the pointers ConstCStr and LStrPtr refer to the same memory location. If the length of ConstCStr is greater than 255 characters, this function converts only the first 255 characters. The function assumes LStrPtr is large enough to contain ConstCStr.
| Name | Type | Description |
|---|---|---|
| ConstCStr | CStr | Pointer to a C string. |
| LStrPtr | LStr | Pointer to a LabVIEW string. |
The length of the string, truncated to a maximum of 255 characters.