1. LPSTR_TEXTCALLBACK
- Posted by Terry <terry at EDERNEY.IDPS.CO.UK> Jul 29, 1999
- 553 views
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
2. Re: LPSTR_TEXTCALLBACK
- Posted by Bernie Ryan <bwryan at PCOM.NET> Jul 29, 1999
- 549 views
- Last edited Jul 30, 1999
> 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