Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: calling a function from a dll

by nikosv (Chaplain)
on Jan 04, 2013 at 06:28 UTC ( #1011561=note: print w/replies, xml ) Need Help??

in reply to Re^2: calling a function from a dll
in thread calling a function from a dll

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011561]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-01-23 12:26 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (244 votes). Check out past polls.