Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!shlump.nac.dec.com!decatl!hoyt From: hoyt@decatl.dec.com (Kurt Hoyt) Newsgroups: comp.windows.x Subject: Re: un-doing a DwtCompString variable(DECwindows compound string) Message-ID: <1989Dec19.213117.15144@decatl.dec.com> Date: 19 Dec 89 21:31:17 GMT References: <49916@bbn.COM> Reply-To: hoyt@decatl.alf.dec.com (Kurt Hoyt) Organization: Digital Equipment Corporation, Alpharetta, GA Lines: 23 In article <49916@bbn.COM> franco@bbn.com (Frank A. Lonigro) writes: >I'm having trouble with taking a compound string and printf'ing the real >string contained in it. There's a typo in the documentation for DwtGetNextSegment. Here is the proper function description: int DwtGetNextSegment (context, text_return, charset_return, direction_r_to_l_return, lang_return, rend_return) DwtCompStringContext *context; char **text_return; /* This is where the typo is -- the manual has only 1 * */ long *charset_return; Boolean *direction_r_to_l_return; long *lang_return; long *rend_return; I hope this helps. -- Kurt Hoyt Digital Equipment Corporation hoyt@decatl.alf.dec.com or hoyt@decatl.dec.com or hoyt%decatl@decwrl.dec.com "Daddy, you not people, you a GUY! Mommy a girl." -- Faith Hoyt