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

Home » Public Forums » archive » Allocating memory in LINKIMAGE program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Allocating memory in LINKIMAGE program [message #20680] Wed, 19 July 2000 00:00 Go to previous message
Virginia Rogers is currently offline  Virginia Rogers
Messages: 4
Registered: July 2000
Junior Member
I have a C program which queries a database and returns a list of all matching
entries. I am making this routine callable in IDL with LINKIMAGE. I'd like to
return a string array to the calling IDL program. My question is, how do I
allocate the memory to store the strings? The C program has allocated space for
all of the strings with malloc(). Can I call IDL_MakeTempArray() to create the
string array and then set each of the string pointers to point to the location
allocated by malloc()? Is there another source of information about using
LINKIMAGE other than the IDL Advanced Development Guide?

Thanks! Ginny
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using IDL from a perl script
Next Topic: Lonlat2reg.pro vs. Grid program

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

Current Time: Wed Oct 08 15:37:22 PDT 2025

Total time taken to generate the page: 0.00457 seconds