Be careful when using the & operator on a CComBSTR variable. If this variable is not empty, using the & operator on it to point it to a new BSTR will lead to a memory leak. For instance, if you have a variable bsz1 declared and initialized as:
Read More...