Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ucsd!usc!snorkelwacker!bloom-beacon!morgan.COM!jordan From: jordan@morgan.COM (Jordan Hayes) Newsgroups: comp.windows.x Subject: reloading the XrmDatabase Message-ID: <9008031634.AA17787@Morgan.COM> X-Local-Date: 3 Aug 90 09:34:48 PDT Date: 3 Aug 90 16:34:48 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: Morgan Stanley, & Co., Inc. / New York City, NY Lines: 34 I want to do the following: XtOpenDisplay(...) XtAppCreateShell(...) XtGetApplicationResources(...) /* change the display->db */ XtAppCreateShell(...) XtGetApplicationResources(...) ... I tried doing this: XrmDatabase db; db = (XrmDatabase)NULL; XrmParseCommand(&db, options, XtNumber(options), name, &argc, argv); display->db = db; XtAppCreateShell(...) XtGetApplicationResources(...) But I seem to hang later down the road, as I suspect there are pointers to places inside display->db that get messed up ... am I SOL or is there a better way to do this? Background: I want to be able to open several instances of my application within one process, but I want each one to be able to take command line arguments like the initial one, and I want to be able to configure the windows separately. /jordan