chapman@lll-crg.llnl.gov (Carol Chapman) (04/12/91)
(sigh!) Has anyone seen something similar and (hopefully) found a solution? I am using Motif 1.1 and C. I have a globally declared C string whose contents are getting clobbered when I call XmStringCreateLtoR for a locally declared XmString. Bizarre! thanx, carol Carol Chapman Tel. (415) 423-7876 Livermore National Laboratory NEW --> chapman@.llnl.gov P. O. Box 808, L-572 "Are you in charge here?" Livermore, CA 94550 "No, but I'm full of ideas!" -- Dr. Who
masa@hpsciz.sc.hp.com (Masayoshi Habu) (04/16/91)
XmStringCreateLtoR() was famous of leaking memory. If possible, try XmStringCreate(). As long as you have a single-line text, You don't need to call LtoR(). masa