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

Home » Public Forums » archive » Re: Can C call the function in IDL?
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
Re: Can C call the function in IDL? [message #35947] Mon, 28 July 2003 09:20
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Xiaoying Jin" wrote ...
> "Rick Towler" wrote...
>> "Xiaoying Jin" wrote...
>>
>>> Can C call the function in IDL? There are some functions build in IDL
>>> very efficient, such as label_region, can I call it in C?
>>
>> Yes, but probably not in the way that you want to. Callable IDL allows
you
>> to call IDL from your C program but in a manner nothing like
>> "IDL_label_region(args);". Check out your options in the External
>> Development Guide, edg.pdf, found in IDL's help directory.
>>
>> -Rick
>
> I checked the External Development Guide. The environment I am working
> with is windows NT or XP. It seems that the simplest way to call C
> from other program in Windows is "Including the IDLDrawWidget ActiveX
> control in an application written in a language other than IDL." I
>
> It is easy to do it in Visual Basic. VC++ also support ActiveX. But I
> am not sure if C support ActiveX or not. Any one has some experience
> on that?

I doubt that you can do it in C but no worries, you can do it in C++. Check
out the example in the "external/ActiveX" directory in your IDL directory.

-Rick
Re: Can C call the function in IDL? [message #35949 is a reply to message #35947] Mon, 28 July 2003 09:01 Go to previous message
xje4e is currently offline  xje4e
Messages: 18
Registered: February 2002
Junior Member
"Rick Towler" <rtowler@u.washington.edu> wrote in message news:<bfsb0j$28ki$1@nntp6.u.washington.edu>...
> "Xiaoying Jin" wrote...
>
>> Can C call the function in IDL? There are some functions build in IDL
>> very efficient, such as label_region, can I call it in C?
>
> Yes, but probably not in the way that you want to. Callable IDL allows you
> to call IDL from your C program but in a manner nothing like
> "IDL_label_region(args);". Check out your options in the External
> Development Guide, edg.pdf, found in IDL's help directory.
>
> -Rick

I checked the External Development Guide. The environment I am working
with is windows NT or XP. It seems that the simplest way to call C
from other program in Windows is "Including the IDLDrawWidget ActiveX
control in an application written in a language other than IDL." I

It is easy to do it in Visual Basic. VC++ also support ActiveX. But I
am not sure if C support ActiveX or not. Any one has some experience
on that?

Thanks,

Xiaoying
Re: Can C call the function in IDL? [message #35964 is a reply to message #35949] Fri, 25 July 2003 15:28 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Xiaoying Jin" wrote...

> Can C call the function in IDL? There are some functions build in IDL
> very efficient, such as label_region, can I call it in C?

Yes, but probably not in the way that you want to. Callable IDL allows you
to call IDL from your C program but in a manner nothing like
"IDL_label_region(args);". Check out your options in the External
Development Guide, edg.pdf, found in IDL's help directory.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem reading DICOM files with IDL
Next Topic: Reading Dicom Header

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

Current Time: Fri Oct 10 05:11:45 PDT 2025

Total time taken to generate the page: 0.64371 seconds