Welcome to MSDN Blogs Sign in | Join | Help

October 2004 - Posts

Careful with & operator on CComBSTR variables.
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...
Page view tracker