General information
Category:
ActiveX controls in VFP
BSTR is the type used in VC++ (and idl) for strings. Its declaration in C++ is:
typedef OLECHAR* BSTR;
MSDN defines BSTR as "A length-prefixed string used by Automation data manipulation functions."
BSTRs are UNICODE strings.
If you need to have strings in a VC++ COM object, then it has to be BSTR.
Vlad
>I haven't gotten into it in detail, but I have been told that the C++ functions that operate on BSTR data types assume NUL terminated strings. Have you found alternatives to this?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only