vptr
Description
Frees the underlying BSTR and returns the BSTR pointer.
Syntax
FUNCTION vptr () AS WSTRING PTR |
Remarks
To pass the underlying BSTR to an OUT BYVAL BSTR PTR parameter. If we pass a CBSTR to a function with an OUT BSTR parameter without first freeing it we will have a memory leak.
Include file
CWStr.inc
Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source