> > Well, it actually seems I don't have to. I just pass the & of the > > CComBSTR and it works fine.... > > Maybe it just *seems to*. If the method returns an array, > and you pass the address of a CComBSTR object to it, then > definitely you're causing a buffer overrun, which is one of > the most deadly sins of a programmer! See, the address of a > CComBSTR object has place only for one object.
I do understand what you mean. But I am just thinking in terms of my application. I create the items in the first place and thus only have one category. I can't seem to find any coding methods to inform me if this is an array of categories or not. 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.
