[Accessibility] Newbie question: help with BSTR arrays

Brian Cragun cragun at us.ibm.com
Mon Feb 22 11:48:39 PST 2010

I'm struggling to understand how a BSTR array is properly allocated and 
content is added to it.   Also how the BSTRs in the array are retrieved. 
Does anyone have any simple examples?

The information at 
is useful but not quite enough for me.
I assume I need to allocation the memory with CoTaskMemAlloc and release 
it with CoTaskMemFree. 


- Brian

Brian Cragun
IBM AbilityLab Consultant
Human Ability & Accessibility Center
www.ibm.com/able & w3.ibm.com/able
W:(720)-663-2801    H:(507)288-2437

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/accessibility/attachments/20100222/0c46a2c7/attachment.htm 

More information about the Accessibility mailing list