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

Home » Public Forums » archive » Corrupted descriptor
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
Corrupted descriptor [message #31760] Thu, 15 August 2002 05:05
Mark S. Bentley is currently offline  Mark S. Bentley
Messages: 1
Registered: August 2002
Junior Member
Hi there,

I have a problem (!!)... I'm calling an external fortran routine (that I've
linked as a Windows DLL) using CALL_EXTERNAL with a fortran wrapper. So far
so good with that - when I run the procedure from the IDL prompt I get what
I expect.

When I call it in a loop from within my main program, I get an error "Array
has corrupted descriptor" in (usually) one of the arrays I am returning from
fortran. I'm trying to pin down exactly what is going on - I trawled the web
and found a few mentions to this error occuring when using CALL_EXTERNAL,
but no solutions...

Any ideas / thoughts / suggestions gratefully accepted!

I am running IDL 5.4 under Windows 2000 and calling f77 code compiled and
linked with the Digital fortran compiler.

Regards,

Mark

+=========================================================== ==============+
* Mark S. Bentley ( Researcher, Space Sciences Research Group ) ***********
* Planetary & Space Sciences Research Institute ( pssri.open.ac.uk ) ******
* Students for the Exploration & Development of Space ( www.uk.seds.org ) *
* Email: mark@uk.seds.org | Tel: +44 7974 754-054 | Fax: +44 7092 043-051 *
+=========================================================== ==============+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: widget help
Next Topic: Attempt to subscript FILNAM with I is out of range....

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

Current Time: Fri Oct 10 22:38:13 PDT 2025

Total time taken to generate the page: 1.51954 seconds