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

Home » Public Forums » archive » Re: CALL_EXTERNAL in Linux Fedore Core2???
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: CALL_EXTERNAL in Linux Fedore Core2??? [message #40929 is a reply to message #40917] Wed, 08 September 2004 04:46 Go to previous messageGo to previous message
Bob[2] is currently offline  Bob[2]
Messages: 5
Registered: June 2004
Junior Member
David Grier's remarks are good.

Also: You are including idl_export.h, so it would also be wise to use
IDL_INT for the return type of your 'test' procedure in C -- after you
rename the procedure to something less troublesome, like 'braintest'.
Then in the call_external, you will want to set /IVALUE. I think you
might not have seen these errors yet, since IDL did not find the right
shared object and did not find the symbol.

Also, look through the messages in the list, if you haven't already done
so. There have been several about call_external.

- Bob

umesh wrote:
> Hi!
>
> I am trying to call a simple C program (test.c) from a IDL program using
> CALL_EXTERNAL. The C program is,
>
> #include <stdio.h>
>
> #include <math.h>
>
> #include"/usr/local/rsi/idl_6.0/external/include/idl_export.h "
>
> float Scale;
> int test(int argc, char *argv[])


> xx=CALL_EXTERNAL('/home/upadiga/work/IDLwork/test', $
> '/home/upadiga/work/IDLwork/test', $
> sc)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL Strip Chart
Next Topic: VTK + IDL

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

Current Time: Fri Oct 10 14:30:00 PDT 2025

Total time taken to generate the page: 0.87936 seconds