--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote: > > Hi Bruce, > > New long string marker works. What is it, BTW? > > And: I assume when I get back a buffer with > ppsv->GetVarAddr(pszVarName, it doesn't include > those marker bytes?
Correct, the marker bytes are not used in storing actual strings; they are only with returnstring to point to where real string is (it should always be a PowerPro-allocated temporary). > When you use ppsv->returnstring(str, szargs), then the marker bytes are added to the front of *szargs. Returnstring uses them for backwards compatibility since *szargs points at a 532 char buffer for short string return. If you use returnstring, first four bytes are marker, next four bytes are pointer to actual long string. Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
