in reply to define type or struct for BSTR data type

Do I understand correctly that BSTR is just UCS2-encoded zero-terminated string?
Can you check out your C API for this?

If my assumption is correct, then decode your from UCS2 after a call to your function.

  • Comment on Re: define type or struct for BSTR data type