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

Home » Public Forums » archive » Memory allocation problem using Call_external
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Memory allocation problem using Call_external [message #6244] Tue, 14 May 1996 00:00 Go to next message
Oscar Chic is currently offline  Oscar Chic
Messages: 1
Registered: May 1996
Junior Member
I'm trying to run a C program using the Call_external interface.
The C program does some mallocs.

It seems IDL doesn't permit allocate memory to C program.
It's not possible to do this ?

I would greatly appreciate any help.

Thanks

Oscar Chic
Institute for Space Studies of Catalonia
Pg. Lluis Companys,23
08010 Barcelona (Spain)
Tel: +34 3 315.23.23
Fax: +34 3 2 68.25.26

chic@ieec.fcr.es
http://www.ieec.fcr.es/
Re: Memory allocation problem using Call_external [message #6271 is a reply to message #6244] Thu, 23 May 1996 00:00 Go to previous message
Marty Ryba is currently offline  Marty Ryba
Messages: 16
Registered: May 1996
Junior Member
Oscar Chic <chic@ieec.fcr.es> wrote:
> I'm trying to run a C program using the Call_external interface.
> The C program does some mallocs.
>
> It seems IDL doesn't permit allocate memory to C program.
> It's not possible to do this ?

IDL does not want you to allocate memory without its knowing. If you get and
read the Advanced Development Guide, it will tell you how to use the functions
IDL_MemAlloc() and IDL_MemFree() (and some others that allow IDL to do garbage
collection if you jump out in response to an error).

--
Dr. Marty Ryba | Of course nothing I say here is official
MIT Lincoln Laboratory | policy, and Laboratory affililaton is
ryba@ll.mit.edu | for identification purposes only,
| blah, blah, blah, ...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: sharable libraries with linux
Next Topic: Re: Outward tickmarks on plots

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

Current Time: Wed Oct 08 11:51:16 PDT 2025

Total time taken to generate the page: 0.00899 seconds