Hmm, habe ich tatsächlich nicht bemerkt, aber ändert nichts dran, denn:
Zitat von
Christian Seehase:
Zitat von
PSDK GetLastError - Remarks:
Some functions call SetLastError under conditions of success; those cases are noted in each function's reference page.
Zitat von
PSDK SysFreeString - Komplett:
SysFreeString
Deallocates a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.
Code:
VOID SysFreeString(
BSTR bstr
);
Parameter
bstr
Previously allocated BSTR. If bstr is NULL, the function simply returns.
Example
Code:
CStatBar::~CStatBar()
{
SysFreeString(m_bstrMsg);
}
Requirements
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in oleauto.h.
Library: Use oleaut32.lib.
Nix mit noted, soweit ich das sehe, oder soll man um die Ecke denken und das "not" in "note" finden?