Rules for Freeing BSTRs in OLE Automation (108934)
The information in this article applies to:
- Microsoft OLE Libraries for Windows and Win32s 2.01
- Microsoft OLE Libraries, when used with:
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 2000
This article was previously published under Q108934 SUMMARY
The callee frees a BSTR passed in as a by-reference parameter before
assigning the parameter a new value. In all other cases, the caller frees
the BSTR.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbAutomation kbprogramming KB108934 |
---|
|