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

Home » Public Forums » archive » Re: SHAPEFILE changes in IDL7.1?
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: SHAPEFILE changes in IDL7.1? [message #68882 is a reply to message #68877] Mon, 30 November 2009 12:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian McNoldy wites:

> I narrowed the problem down to the last line of the program:
> "Heap_Free, entities".
> (see http://www.dfanning.com/programs/drawstates.pro for the full
> program)
> If I change that to "Ptr_Free, entities", all is well and the program
> works like it used to: quickly. Something between v7.0 and v7.1 is
> quite different when it comes to heap versus pointer cleaning!

Yikes! Except that you will be leaking memory like
a sieve! :-(

Good clue, though. I'll see what I can come up with tonight.
It may be we need a function that can pick structures
apart and free pointers and objects inside them recursively.
(The purpose of HEAP_FREE, alas.)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to store compressed data ?
Next Topic: Re: costum stretch an image

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

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

Total time taken to generate the page: 1.27967 seconds