Hi everybody,
has anyone got suggestions on how to return arrays back from a
DLM(dynamic link module) into IDL using an IDL_VPTR pointer? Using a
template array in IDL before calling the DLM and pointing the data to
this array within the DLM results in the IDL message'Array has a corrupted descriptor: TEMPLATE.'
Although the array's data would be correct, IDL halts execution.
Thanks in advance
Thomas
you have to create a temporary array (in the C code) and return
it
as your function value.
the temporary arrays are built using the IDL_MakeTempArray function.
if I remember well, there could be an example about this on the IDL
exetrnal
development guide.
-- Nando Iavarone Advanced Computer System - SPACE DIVISION via Lazzaro Belli, 23 00040 Frascati - RM Tel: +39-6-944091 (switchboard) 9440968 (direct) E-mail: f.iavarone@acsys.it FrdndVrn@altavista.net