int32 PToCStr(pstr, cstr);
Converts a Pascal string to a C string. This function works even if the pointers pstr and cstr refer to the same memory location. The function assumes cstr is large enough to contain pstr.
| Name | Type | Description |
|---|---|---|
| pstr | PStr | Pointer to a Pascal string. |
| cstr | CStr | Pointer to a C string. |
The length of the string.