Path: utzoo!attcan!uunet!snorkelwacker!bu.edu!polygen!bill From: bill@polygen.uucp (Bill Poitras) Newsgroups: comp.windows.x Subject: I can't get XGetDefault to work Message-ID: <829@redford.UUCP> Date: 25 Sep 90 19:37:11 GMT Reply-To: bill@redford.UUCP (Bill Poitras) Organization: Polygen Corporation, Waltham, MA Lines: 17 I am running X11R4 on a Sun 3/60 under SunOS 4.1. In one of my appications, lets call "XYZ" for argument sake. I make a the following calls: sprintf(appstring, "%s.geometry", "test"); geostr = XGetDefault(surface->display, "XYZ", appstring); geostr is a char pointer, appstring is a 80 element character array. geostr is always null in all of the applications that use this code. I am running Twm with UsePPosition set to "on" in my .twmrc. WHAT IS WRONG!!! Is there AFM that I can R to help me? Any help would greatly be appreciated. +-----------------+---------------------------+-----------------------------+ | Bill Poitras | Polygen Corporation | {princeton mit-eddie | | (bill) | Waltham, MA USA | bu sunne}!polygen!bill | | | | bill@polygen.com | +-----------------+---------------------------+-----------------------------+