Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2016-12-11 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.