[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

2414.0. ".DAT files and resources HELP!" by CADYER::BMURRAY () Thu Mar 08 1990 15:52

    
    
    Could someone point me to some documentation on reading in .DAT files
    of resources for user preferences and also I'm looking to find where the
    routine DwtSetDECApplication is documented.  I just can't seem to get
    my source code to read in the resource .DAT file when it runs and I
    can't locate where it's documented. Thanks.
    
    
    -Bob
T.RTitleUserPersonal
Name
DateLines
2414.1I use itPWDVL::BERNEISMichael B. BerneisFri Mar 09 1990 18:4815
I don't know about documentation, but I use the resource-files as follows.

1) location of file (I assume you use VMS) decw$system_defaults:
	or decw$user_defaults:

2) If your program is called "foo" use as a class-name in XtInitialize
	DECW$FOO and your resourcefile is called DECW$FOO.DAT

3) start all resources in your resourcefile with '*', this way you don't 
	have to type your class-name all the time

I don't say that this is the official way, but that's the way I use it
	and it works (which counts)

Cheers, Mike