in reply to Re^3: define type or struct for BSTR data type
in thread define type or struct for BSTR data type

Ah! "The pointer points to the first character of the data string, not to the length prefix." Fixed in original post.
  • Comment on Re^4: define type or struct for BSTR data type