[comp.windows.x] How to close a display with Xt

klute@heike.informatik.uni-dortmund.de (Rainer Klute) (09/19/90)

My problem is the following:

I connect to a display (XtOpenDisplay()), realize a widget there and
destroy it when I'm done with it. So far no problems. Now I want to close
the display with XtCloseDisplay(). It seems to do what it is supposed to
but I get the message "Error: BadAccess (attempt to access private resource
denied)".

Could someone please shed some light on what this means?

Disclaimer: I am new to Xlib and Xt programming.

--
  Dipl.-Inform. Rainer Klute      klute@unido.informatik.uni-dortmund.de
  Univ. Dortmund, IRB             klute@unido.uucp, klute@unido.bitnet
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-4600 Dortmund 50        |\|\    Fax : +49 231 755-2386