Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: calling a function from a dll

by nikosv (Hermit)
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


Comment on Re^3: calling a function from a dll

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011561]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-30 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls