[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

3346.0. "Customer problem" by XLIB::JACKSON (Collis Jackson) Fri Sep 14 1990 16:57

I'm trying to extend an application which invokes TPU with a DECwindows
interface.  One of the first things my extension does is to open a new
DRM Hierarchy file (.UID) containing descriptions of interface items to
add to the EVE DECwindows menus.

In my TPU routine, I call the builtin routine CREATE_WIDGET after opening
the DRM Hierarchy file.  Later on, a C-language routine opens an X Resource
Database with the XrmGetFileDatabase call, and then calls XrmGetResource to
get the values of various resources in that opened database.

The problem is, one of the resources to retrieve isn't found by XrmGetResource.
If I remove the TPU call CREATE_WIDGET, then that resource is found.  The
resource database is being opened *after* the TPU call to CREATE_WIDGET,
so I don't see how it's possible that creating the widgets could overwrite
the resource database (since it hasn't been read in yet).

I'm at a loss as to how to proceed.  Is this a known problem?  Can you
suggest a workaround for this problem, or actions to take to try to pin
down the problem more exactly?  I'd appreciate any help you have to offer.

Thanks,

Collis Jackson
T.RTitleUserPersonal
Name
DateLines