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 
Return to the default flat view Create a new topic Submit Reply
Re: Can C call the function in IDL? [message #35947] Mon, 28 July 2003 09:20 Go to previous message
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
[Message index]
 
Read Message
Read Message
Read Message
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 00:00:32 PDT 2025

Total time taken to generate the page: 1.11642 seconds