> Looking at > <http://msdn.microsoft.com/library/default.asp?url=/library/en -us/vclib/html/_atl_ccombstr_class_members.asp>, the CComBSTR class does seem to have the operator==() function defined, so it should be safe to use. Of course, I'd suggest something like:
I see. Well my MSDN is from October 2001 so perhaps it has been updated. It certainly comoiles and appears tow ork. if (bstrCat == L"SoundRota") ... so that the comparison takes place more efficiently (without any need for string conversion before comparison) but any of the two forms should work just fine. Can you please clarify this L stuff again for me....? This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
