kwh@cogsci.ed.ac.uk (Kevin Humphreys) (05/30/91)
This may be a basic question but I've been stuck with it for hours. I've got an X routine to pop up a dialog box and return the string entered. I'm trying to interface it with sicstus prolog but I keep getting "bus error" whenever I move the pointer into the dialog buttons. This occurs using either XawDialogAddButton or XtCreateManagedWidget to make the buttons. It seems as though the EnterNotify event is causing the error - is there any way to handle this, or does it sound like this must be a prolog error? Also, is there any way of testing whether XtToolkitInitialize() has previously been called? Prolog needs to call the routines repeatedly and I'd like to avoid any problems that may be caused by initializing more than once. Any help appreciated. Kevin Humphreys kwh@cogsci.ed.ac.uk