in reply to define type or struct for BSTR data type

What was wrong with the previously given solution?
  • Comment on Re: define type or struct for BSTR data type

Replies are listed 'Best First'.
Re^2: define type or struct for BSTR data type
by manojghosh (Novice) on Mar 29, 2011 at 08:58 UTC
    it is not giving the result, i think there is something lacking in unpack() and unicode decoding
Re^2: define type or struct for BSTR data type
by manojghosh (Novice) on Mar 29, 2011 at 10:57 UTC
    thanks a lot ... i have tried with the same code with some changes in unpack() function, and now it is running and giving correct results.
      What were those changes?
        Ah! "The pointer points to the first character of the data string, not to the length prefix." Fixed in original post.
      I am having similar issues can you please post your updated code?

        Please read the sibling thread to this. The code was fixed in the original thread.