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

Home » Public Forums » archive » Re: Data passing & CALL_EXT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Data passing & CALL_EXT [message #8257 is a reply to message #8255] Fri, 21 February 1997 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bob Mallozzi writes:

> Is it possible to pass the following data structures from C code back
> to IDL via CALL_EXTERNAL:
>
> 1. An array of strings?

Yes. As byte arrays, usually.

> 2. A C structure, containing int, float, char

No. At least not officially. Check with Mark Rivers if you want
the unofficialy story.

> 3. A C union

Probably, as a byte array.

> I got my C code to pass back a single string, but could not do an
> array of strings. Really I would like to pass a structure back to
> IDL. Does anyone have any examples of this? The IDL examples treat
> only the simplest cases.

I'd ask Mark Rivers if he would help you if you bought him dinner
the next time you saw him.

> PS I am using OpenVMS :-(

Oh, well then ... prayer?

Cheers!

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: A TRACKING_EVENT MYSTERY (was widget_event mystery)
Next Topic: Re: You ever wonder why....

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

Current Time: Sat Oct 11 00:41:57 PDT 2025

Total time taken to generate the page: 0.16122 seconds