Path: utzoo!attcan!uunet!samsung!know!zaphod.mps.ohio-state.edu!rpi!julius.cs.uiuc.edu!apple!uokmax!alliant.backbone.uoknor.edu!jigang From: jigang@alliant.backbone.uoknor.edu (Jigang Yang) Newsgroups: comp.sys.dec Subject: DwtGetNextSegment Keywords: DecWindow,DwtGetNextSegment Message-ID: <1990Sep17.193902.7888@uokmax.uucp> Date: 17 Sep 90 19:39:02 GMT Sender: news@uokmax.uucp (Nets) Reply-To: jigang@alliant.backbone.uoknor.edu.UUCP (Jigang Yang) Organization: Geosciences Computing Network, Univ. of Ok Lines: 18 People suggest that I should use DwtInitGetSegment and DwtGetNextSegment to copy compound string to a plain text variable(char *). Maybe I am a bit slow. I tried these functions. In DwtGetNextSegment there are paramenters: DwtCompStringContext *context; char **text; unsigned long *charset; ...... The string I need should in the variable"text". What is the format of the text? Why it uses "**text" instead of "*text". I have printed out the content of text which includes some control chars. I hope someone can send me an example of using this function. -- Jigang Yang Geosciences Computing Network Univ. of Oklahoma 830 Van Vleet Oval #116 E-mail: jigang@alliant.backbone.uoknor.edu Norman, OK 73019 Tel: 405-325-5540