Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
This is a short note to warn users of IDL under VMS of a minor bug in the latest release (v 2.0.13) I just discovered. If you use the LINKIMAGE procedure to "hook" in programs to IDL that were written in another language, say C or FORTRAN, the names of the routines called can be no longer than 14 characters. This restriction was not present in earlier versions of IDL and it's sudden appearance caused a number of our routines written in C to break. I called RSI (the maker of IDL) and was told that they were aware of this bug and that it would be corrected in the next release. They would not give me a date for this release but judging from the history of releases over the past year I would expect it in a month more or less. Users who have access to the SPAN network can get these releases electronically. Bruce -- Bruce L. Gotwols Johns Hopkins University, Applied Physics Lab., Laurel MD 20723 Internet: gotwols@warper.jhuapl.edu (128.244.176.48)
> I'm using LINKIMAGE to call C code which creates and returns > IDL variables. I've figured out how to create arrays of different IDL > of IDL structures containing various datatypes. This appears to > be much more difficult. > > Does anyone have an example of how to do this, ie. create an > array of IDL structures in C? Anything would be helpful. > > Thanks in advance, > Scott. > (we're currently running IDL 3.6 under SunOS 4.1.3) Have you though of passing data in a structure via a pipe from Idl to C and vica versa. It may not be as fast as sending data via ram, but I have found it to be sufficient. The topic is coved in the data/io chapter of the User Manual. Saurabh. sdpatel@mail.sas.upenn.edu