Path: utzoo!attcan!uunet!sdrc!sphorton From: sphorton@sdrc.UUCP (Mitch_Horton) Newsgroups: comp.windows.x Subject: XrmGetResource Keywords: XrmGetResource Message-ID: <1527@sdrc.UUCP> Date: 8 Aug 90 04:34:17 GMT Organization: SDRC, Cincinnati Lines: 24 335 of the Xlib Programming Manual for Version 11 by Adrian Nye (Volume One) published in November of 1988 with respect to managing user preferences. First I call XrmParseCommand to load the command line options into a XrmDatabase. I do not get any errors but I do not have the source code for the Xrm routines and I cannot be sure by stepping through the debugger that the XrmDatabase is being loaded properly. Next I call XrmGetResource and the option I am looking for is not found. I studied the chapter in this book on the resource manager and I think I understand the matching rules and the difference between a class and an instance, but when I call XrmGetResource exactly the way it is called in basecalc, options from the command line are not found by XrmGetResource. The one thing that is not clear to me is what determines the class name for an option. Since XrmGetResource requires the class name as one argument, and I'm not sure how this name is constructed, perhaps this is my problem. If any of you Xrm wizards out there can help me out, I will be eternally grateful. Thanks, Mitch Horton