Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uunet!mstan!chuck From: chuck@Morgan.COM (Chuck Ocheret) Newsgroups: comp.windows.x Subject: Re: Design problem in XtVaGetApplicationResources Keywords: 'Sup Dudells Message-ID: <2950@s5.Morgan.COM> Date: 1 Apr 91 16:40:40 GMT References: <3114@laura.UUCP> <9103202211.AA08488@dwight.tcs.com> Organization: Morgan Stanley, & Co., Inc. / New York City, NY Lines: 17 > This is a good point. I write applications all the time that have > several top-level "objects" that could all use access to an AppDefaults > file, but don't get one becuase the file only gets loaded when you open > the display, and you can't merge them in because it would affect > (adversly) any resource fetching done later on. My solution so far has > been to open a new Display connection so I have a fresh database. That > can get old really quick ... And if you're using Motif, you can't open a new connection once you've closed one because their gc caching code is screwed up. ~chuck -- +--------------------+ Chuck Ocheret +---------------+ |chuck@fid.Morgan.COM| Morgan Stanley & Co., Inc. |(212) 703-4474 | | Duty now ... |19th Floor, 1251 Avenue of the Americas|for the future.| +--------------------+ New York, N.Y. 10020 USA +---------------+