Title: | DECWINDOWS |
Notice: | DECwindows Motif V1.2-4 SSB kits: note 5519 |
Moderator: | GRIM::MESSENGER |
Created: | Wed Nov 28 1990 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5861 |
Total number of notes: | 24081 |
1. Does anyone know whether the layout to resource databases changed (both on disk and in memory) from MOTIF V1.0 and MOTIF V1.2? 2. Does anyone know the significance to the replacement of the routine EnumerateDatabase on MOTIF V1.0 with the routine XrmEnumerateDatabase on MOTIF V1.2? We have a system which is currently being ported from using MOTIF V1.0 to MOTIF V1.2. Our system replaces standard images such as DECW$LOGINOUT, DECW$SESSION and DECW$TRANSPORT_LOCAL. LOGINOUT and SESSION both make use of the routine EnumerateDatabase on V1.0. Running the images on a MOTIF V1.2 system returns a status showing a call to an obsolete routine. We can see from the sources for MOTIF that this routine has been replaced by XrmEnumerateDatabase. The question is - even if our sotfware can contine to use EnumerateDatabase - did the format to resource databases (disk/memory) change significantly between V1.0 and V1.2? Thanks for any help, Ed. Dennison (7851 1608) Any help would be much appreciated, Ed. Dennison (7851 1608)
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5839.1 | GRIM::MESSENGER | Bob Messenger | Tue May 06 1997 12:21 | 19 | |
DECwindows Motif V1.0 was based on X11 R4 while DECwindows Motif V1.2 was based on X11 R5. I'm not sure whether the internal structure of resource databases in memory changed between R4 and R5 but I wouldn't be surprised if it did. The structure on disk is the same: just a standard set of resource definitions. Of course the actual resource names and values changed in many cases, but the structure is still the same. I believe that what happened is that the OpenVMS version of Xlib provided an EnumerateDatabase function in DECwindows Motif V1.0 for use by our own applications, but it wasn't part of the X11 R4 standard. XrmEnumerateDatabase was added as a standard function in X11 R5, but it looks like the OpenVMS Xlib still provides EnumerateDatabase in V1.2 and later versions so older applications will continue to work. EnumerateDatabase is in the transfer vector but it's not a universal symbol, so to call it you'll need to link with the V1.0 or V1.1 version of Xlib. -- Bob |