Re: xmanager,/no_block [message #18308] |
Wed, 15 December 1999 00:00 |
J.D. Smith
Messages: 214 Registered: August 1996
|
Senior Member |
|
|
"R.Bauer" wrote:
>
> Hi,
>
> what happens to my pointers if I use a widget that's normally run with
> the /NO_BLOCK keyword of xmanager ?
>
> % Invalid pointer: MAP.
>
> R.Bauer
Though you'd need to tell us more, I suspect what is happening is that, since
XManager,/NO_BLOCK returns immediately, the MAP pointer, which was supposed to
be set when the widget was closed or finishing up (perhaps in a clean-up routine
or event manager routine), is not set at that point, but that code past XManager
is trying to make use of it. It's difficult to return things to the command
line with NO_BLOCK widgets, though it can be done with pointers passed in, but
not in-line.
Could be way off, but it's a guess.
JD
--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
|
|
|