franco@bbn.com (Frank A. Lonigro) (12/20/89)
I'm having trouble with taking a compound string and printf'ing the real string contained in it. In other words, I can create a compound string from a string, but I can't take a compound string and un-do it to get the string it was made from. I've tried using DwtInitGetSegment and DwtGetNextSegment but to no avail. I must be doing it wrong, but I don't think so... Can anyone out there help???? A small sample of code that works would be of great help. Thanks!!!! -franco ################################### ### ######### ##################### # Frank A. Lonigro # ### ######### ##################### # franco@bbn.com # ### ### ### ### # franco%bbn.com@relay.cs.net # ### ### ### ### ### ### ### # ...!harvard!bbn!franco # ### ### ### ### ### ### ### # BBN Inc., Cambridge, Mass. # ### ### ### ### ### ################################### ####################################### # "I think we need more violins on TV and less game shows!" - Gilda Radner #
hoyt@decatl.dec.com (Kurt Hoyt) (12/20/89)
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