[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1807.0. "Resource Manager Questions" by HPSCAD::MAYER () Tue Nov 28 1989 16:51

    I've looked through this notes conference, the DECwindows programming
    notes conference, the DECwindows (and Xlib) manuals and the X-Window
    System from Scheifler, Gettys and Newman and can't find the answers.
    
    I need to understand how the Resource Manager should be used.
    Specifically:
    
    1) When, whether and how XrmInitialize is used.
    
    2) Can Multiple RM Databases be kept and if so do you need to do
       another XrmInitialize?
    
    3) Does XtInitialize call XrmInitialize and XrmGetFileDatabase and
       how is the defaults file name passed to XrmGetFileDatabase?
    
    4) In XrmGetResource there is a reference to a class_list_string.
       What is this used for?  It is not used in creating entries in
       the database by either XrmGetFileDatabase or XrmPutResource,
       or any of the other routines used by the resource manager to
       add data into the database.  Can I ignore this field or is it
       important?
    
    5) In XrmGetResource what is the representation type?  Where can
       I get a list of return values that this routine will put in there?
       Does this specify the type of value returned in repr_value_return?
       If so, if the Defaults file contain a list of items containing
       numbers and is read in by XrmGetFileDatabase, will the value
       returned be integer or a String?  For example, if the defaults
       file contains:
    
       Foo.Bar:		1000
    
       when I ask for the resource Foo.Bar, will it return the integer
       1000 or the String "1000"?
    
    
    I think that's enough for now.  All help appreciated.
T.RTitleUserPersonal
Name
DateLines