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

Home » Public Forums » archive » Re: Returning arrays from DLMs to IDL
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
Re: Returning arrays from DLMs to IDL [message #19215] Fri, 03 March 2000 00:00
Nando Iavarone is currently offline  Nando Iavarone
Messages: 48
Registered: December 1998
Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thomas Balbach wrote:
<blockquote TYPE=CITE>Hi everybody,
<br>has anyone got suggestions on how to return arrays back from a
<br>DLM(dynamic link module) into IDL using an IDL_VPTR pointer? Using
a
<br>template array in IDL before calling the DLM and pointing the data
to
<br>this array within the DLM results in the IDL message
<p>'Array has a corrupted descriptor: TEMPLATE.'
<p>Although the array's data would be correct, IDL halts execution.
<p>Thanks in advance
<br>Thomas</blockquote>

<p><br>you have to create a temporary array (in the C code) and return
it
<br>as your function value.
<p>the temporary arrays are built using the IDL_MakeTempArray function.
<p>if I remember well, there could be an example about this on the IDL
exetrnal
<br>development guide.
<br>&nbsp;
<pre>--&nbsp;
Nando Iavarone
Advanced Computer System - SPACE DIVISION
via Lazzaro Belli, 23
00040&nbsp; Frascati - RM
Tel: +39-6-944091 (switchboard)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 9440968 (direct)
E-mail:&nbsp;
&nbsp;&nbsp;&nbsp; f.iavarone@acsys.it
&nbsp;&nbsp;&nbsp; FrdndVrn@altavista.net</pre>
&nbsp;</html>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: other compilers (was CALL_EXTERNAL with Windows DLL)
Next Topic: Mouse cursor position

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

Current Time: Sun Oct 12 02:00:36 PDT 2025

Total time taken to generate the page: 1.44004 seconds