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

Home » Public Forums » archive » Re: How to communicate between an IDL program and an Exe?
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: How to communicate between an IDL program and an Exe? [message #41550] Thu, 18 November 2004 05:36
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Marco,
1. AFAIK, you cannot access routines inside an exe file from IDL. I suggest
that you put the routines/functions of question inside a dll, which you can
access from IDL and you can link you exe against. This way you only have one
set of routines.

2. You need to read on "Callable IDL" in the external developers guide. I
have never used it and the manual states something like that this is "hard",
but then again that is what I thought about DLM programming as well. And in
the end this wasn't so bad. However, you will not be able to use IDL debug
with any external code (wouldn't that be nice). So you are stuck with the
visual studio tools.

Cheers,
Haje

"Marc Reinig" <nospam@nospam.com> wrote in message
news:VzQmd.22377$6q2.5437@newssvr14.news.prodigy.com...
> I have a couple of questions on interfacing IDL and C in Windows.
>
> 1. I have an IDL program and a Windows .exe program. I would like the IDL
> program to be able to access functions in the .EXE the way it would do it
in
> a DLM. I want to try and avoid having two versions of important routines,
> one in a DLM and one in an EXE.
>
> 2. One of our researchers is developing algorithms in IDL that she would
> like to access from a DLM or an EXE, hopefully allowing the use of the IDL
> debug facilities while using the EXE for the complex support functions.
>
> How would I go about that.
>
> Thanks in advance,
>
> Marco
> -------------------------------------------------
> Marc Reinig
> Laboratory for Adaptive Optics
> UCO/Lick Observatory
>
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: checking whether text widget has keyboard focus
Next Topic: using idl over the web

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

Current Time: Thu Oct 09 07:22:51 PDT 2025

Total time taken to generate the page: 0.72152 seconds