ik@snoopy.ctt.bellcore.com (Ik Su Yoo) (03/07/91)
I would like to be able to set the userData resource to a string from the resource database. (Using X11R4, Motif 1.1, and SunOS 4.1, if it makes any difference.) My first attempt at it generated a warning message: No type converter registered for 'String' to 'Pointer' conversion. So, I wrote a type converter from XtRString to XtRPointer, and I can now set the userData resource to a string. It looks to be this is dangerous thing to do since the user is also allowed to arbitrarily set other pointer-typed resources. Is there a better way to allow the userData resource to be specified in the resource database? Thanks for any help you can give me. Ik Su Yoo RRC 1H-229, (908) 699-5764 ik@ctt.bellcore.com