Path: utzoo!attcan!uunet!mcsun!cernvax!jones From: jones@cernvax.UUCP (robert jones) Newsgroups: comp.windows.x Subject: XtGetApplicationResources in reverse Message-ID: <2929@cernvax.UUCP> Date: 25 Oct 90 08:13:24 GMT References: <9010220805.AA11311@Larry.McRCIM.McGill.EDU> <1990Oct22.124125@sasun1.epfl.ch> Organization: CERN, European Laboratory for Particle Physics Lines: 23 I have an application where I want save the current settings to a file so that they can be used again the next time the application runs. I read the file using the XtGetApplicationResources routine which is very convenient: XtGetApplicationResources (toplevel, &app_data, app_resources, XtNumber (app_resources), NULL, 0); I thought if I update the fields in app_data with the new setting I could use info in the structure to write the file (ie do the equivalent of XtPutApplicationResources() ). Unfortunately XtPutApplicationResources() does not exist and I have not found any easy way of emulating its behaviour. So does anyone know of a smart way of doing it? Thanks in advance. Bob Jones CERN European Organisation for High Energy Physics Geneva Switzerland jones@online.decnet.cern.ch jones@cernvax