Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: I can't get XGetDefault to work Message-ID: <9009261358.AA09609@expire.lcs.mit.edu> Date: 26 Sep 90 13:57:57 GMT References: <829@redford.UUCP> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 11 sprintf(appstring, "%s.geometry", "test"); geostr = XGetDefault(surface->display, "XYZ", appstring); The R4 XGetDefault only accepts a singleton name in the third argument, not a compound name. This matches the intention of the specification. The R3 version worked with a compound name, although it shouldn't have. Many have flamed about this, you probably will too. :-) I suppose you can either "fix" XGetDefault to work the way you want it to, or recode to use real Xrm interfaces instead of this X10 pseudo-compatibility interface.