1. LPSTR_TEXTCALLBACK

God help you all, I'm back again!

Have just found another definition of LPSTR_TEXTCALLBACK

     Public Const LPSTR_TEXTCALLBACK = ((LPSTR) - 1&)

Could Bernie or someone translate this to normal-speak for poor ol'
monolingual me.

 i.e.    global constant LPSTR_TEXTCALLBACK = ?

Grateful thanks to all,

Terry

new topic     » topic index » view message » categorize

2. Re: LPSTR_TEXTCALLBACK

>     Public Const LPSTR_TEXTCALLBACK = ((LPSTR) - 1&)
>

Terry:
( that "&" ampersand means a long integer in basic it should be an "L"
in C ) but this is my interpetation.
                              ( LPSTR -- 4 bytes - 1 )
constant LPSTR_TEXTCALLBACK = #FFFFFFFF - 1

It may expect to put a byte count into the location just before the
buffer to keep track of the size ? In "C" you don't have to worry about
this because the header
file definition automatically take care of it.
Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu