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

Home » Public Forums » archive » Re: LINKIMAGE problem (beginner)
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: LINKIMAGE problem (beginner) [message #11209 is a reply to message #11204] Sat, 07 March 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Reinhold Schaaf (Kakadu42@gmx.net) writes:

"LINKIMAGE problem (beginner)". Sigh...

> I want an IDL program call C subroutines. Since the CALL_EXTERNAL
> mechanism seems to provide no possiblities for typechecking (?) I want
> to use LINKIMAGE, where typechecking can (and must) be done. Everything
> is pretty nasty (I really don't like pointers on pointers on pointers
> ...), but anyway.

Here is a piece of free, unsolicited advice:

Do your type checking of variables in IDL *before* you call
your C subroutine with Call_External. I can almost guarantee
that you will be *much* happier with your progress. :-)

Cheers,

David

P.S. You can use the SIZE function for type checking.

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: rewriting from IDL to PVwave
Next Topic: Re: David Fanning's rubberband box

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

Current Time: Sun Oct 12 13:43:41 PDT 2025

Total time taken to generate the page: 0.72791 seconds