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

Home » Public Forums » archive » DLM "unload"?
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: DLM "unload"? [message #88354 is a reply to message #88341] Wed, 16 April 2014 08:14 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 4/15/14, 3:07 pm, rigby@crd.ge.com wrote:
> from the "New free DLL for calling Python from IDL!" thread...
>
> On Monday, March 3, 2014 12:29:01 PM UTC-7, Haje Korth wrote:
>> ... found a bug: IDL 8.3 crashes when .f (.full_session_reset) is
>> issued after the DLM is load.
>
>>> I would bet that they forgot to register a DLM "unload" routine
>>> for .full reset. >>So the DLM is probably being unloaded, but it
>>> isn't being given the chance to >>unload any of it's data
>>> structures...
>>>
>>> Cheers, Chris
>
> Chris,
>
> Can you elaborate? I don' see anything in the documentation or the
> example DLM code about an IDL_Unload routine. I have a handful of
> DLL's I use quite regularly, but IDL doesn't crash after a
> .full_reset. Am I just getting lucky, or is there something else I
> should be doing? For the DLL, I mean -- not to crash IDL. :-)
>
> I use IDL 8.3 on a 64-bit Windows 7 system, if that makes any
> difference.
>
> Thanks, Wayne
>

See:

http://www.exelisvis.com/docs/ExitHandlers.html

Particularly the last paragraph.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drawing the mean in cgboxplot
Next Topic: CATCH inside a FOR loop and out?

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

Current Time: Fri Oct 10 10:47:23 PDT 2025

Total time taken to generate the page: 0.32435 seconds