🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #263

My ibuild program will not find its resource file!

#263
From: Richard Favero
Date: Thu, 09 Apr 1992 01:21
41 lines
1592 bytes
Hi,

I have had a frustrating time getting my resource file read by my program.
The program is generated by ibuild and has an executable name xxxx.

The class name of the top level window is XXXX. There are two dialogs whose class 
names are AAA and BBB.

This is what I have tried.

I put a file in the /usr/lib/X11/app-defaults/XXXX
In this file is
	XXXX*foreground: navy

But nothing happens!
In my .Xdefaults
	XXXX*foreground: navy

But nothing happens!

I have also tried using the executable name instead with no luck

I have also set the XAPPLRESDIR variable to the /usr/lib/X11/app-defaults.

But nothing happens.

I have also tried the directory where the Doc resources are kept but nothing 
happens.

I have given the instance name the same name as the class XXXX and this does
not seem to help.

The system is an HP720 using an X11R4 directory(in which I also tried these
thing.

I am open to any suggestions. There is something that I dont know about and 
I am sure that someone kows what it is.

Thanks to Yufan who has assisted
Thanks in advance
Richard Favero
Technical Details
Message-ID: <1992Apr9.012122.2030@picasso.cssc-syd.tansu.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!picasso.cssc-syd.tansu.oz.au!richardf

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!picasso.cssc-syd.tansu.oz.au!richardf
From: richardf@picasso.cssc-syd.tansu.oz.au (Richard Favero)
Subject: My ibuild program will not find its resource file!
Message-ID: <1992Apr9.012122.2030@picasso.cssc-syd.tansu.oz.au>
Keywords: resource file
Organization: Telecom Australia
Date: Thu, 9 Apr 92 01:21:22 GMT
Lines:       43