what is interesting is that the prefix length is a byte count and not a character count,although BSTR is always Unicode
So to find the end of the string you have to get to the stored length which is stored in the first 2 bytes
the example at : BSTR layout shows the byte count and the terminated nulls,both required by BSTR
In reply to Re^3: calling a function from a dll
by nikosv
in thread calling a function from a dll
by nmeijer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |