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 
Return to the default flat view Create a new topic Submit Reply
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, ...
[Message index]
 
Read Message
Read Message
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 17:19:23 PDT 2025

Total time taken to generate the page: 0.00527 seconds