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

Home » Public Forums » archive » IDL Hard Crashing
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: IDL Hard Crashing [message #87942 is a reply to message #87941] Tue, 04 March 2014 17:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matthew Argall writes:

>
> I ran into this problem once before. In my program, all of the widgets had a Kill_Notify event handler destroyed the object it was associated with. In my primary object program, I mistakenly had the cleanup method destroy the objects associated with the widgets from top down.
>
> As a concrete example, say I had a window widget/object and a top level base widget/object. Killing the top level base widget also kills all its child widgets (the window widget). The Kill_Notify event handler then destroys the associated object.
>
> But what I was doing is destroying the window widget/object first, so that when the top level base widget was destroyed, the window no longer existed when the base tried to kill it. That is what generated the error.

This sounds about right. Thanks. I'll look into it.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Hymap NVDI
Next Topic: idl syntax error

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

Current Time: Wed Oct 08 16:07:44 PDT 2025

Total time taken to generate the page: 0.00385 seconds