comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: widget events and dlms
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: widget events and dlms [message #31830] Thu, 22 August 2002 08:52
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Rick Towler" <rtowler@u.washington.edu> wrote

> I have a dlm function that seems to behave differently when called from
> within a widget event loop than when called from a top down program or the
> command line.
>
> In general, when the same calls that execute fine from the command line or
> from a top down program are executed within an event loop IDL throws an
> "Instruction at (some address) referenced memory at (some address). The
> information could not be read". I have tried and tried but I can not
> reproduce the error outside of the event loop.

I seem to have these conversations with myself...

For what it is worth, I think that this might be related to widget event
processing and the IDL_WidgetStubLock() function:

From the EDG "IDL event processing occurs asynchronously, so any code that
manipulates widgets must execute in a protected region. This function is
used to create such a region."

Does this jog anyone's memory? I have only a fuzzy understanding of why
this is and what impact it would have on code executed during an event.
Anyone care to shed some light?

-Rick
[Message index]
 
Read Message
Previous Topic: How to use max() to plot where in the plot max is located ?
Next Topic: Re: How to use max() to plot where in the plot max is located ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:17:40 PDT 2025

Total time taken to generate the page: 0.95768 seconds