How to test if a CComBSTR
is an empty string? (with no 'text' value, can be ""
or can be null
)
my ideas:
CComBSTR::ByteLength()
returns 0CComBSTR::GetStreamSize()
returns 0CComBSTR::m_str
is NULLCComBSTR::Length()
returns 0which one is correct approach? if none of them is, then what is correct approach?
thanks.
4) Test length 0 it's fast as it's stored