cophi
asked on
Alternative To CComBSTR
I'm basically trying to do this....
i->name = CComBSTR((char *)name);
Without using the CComBSTR method because when I use it with Microsoft Application Verifier it's giving me an error. So I need another way around it....
Try _bstr_t wrapper. Or use SysAllocString API, without any wrappers.
ASKER
Ok... Should I be using the Detach or CopyTo functions if I'm passing the i pointer(i->name) into another function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.