[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Dispose of a null-terminated string on the heap.
Source position: syspchh.inc line 49
procedure StrDispose( |
Str: PChar |
); |
StrDisposefrees any memory allocated for Str. This function will only function correctly if Strhas been allocated using StrAllocfrom the SysUtilsunit.
For an example, see StrBufSize.
If an invalid pointer is passed, or a pointer not allocated with StrAlloc, an error may occur.
|
Return the size of a null-terminated string allocated on the heap. |
|
|
Allocate a null-terminated string on the heap. |
|
|
Dispose of a null-terminated string on the heap. |