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

Home » Public Forums » archive » Re: IDL and external app in concurrent mode
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: IDL and external app in concurrent mode [message #22902] Tue, 12 December 2000 09:23 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
barban74@my-deja.com writes:

> Hi everybody,
> my name is Andrea Barbaresi and I work in the research center
> of Telecom Italia Group, here in Italy.
>
> I read on "External Development Guide" that
> "IDL was not designed to be used in a threaded program" so
> I'd like to know if it's possible to accomplish, both in Windows
> and in Unix environment, a task like the one
> described below:
>
> Use a C++ program to activate a IDL widget-app
> in a non-blocking way (by means of "IDL_RunTimeExec()"
> statement?); after this call the program must be able to continue
> its execution and periodically give back the control to IDL to
> check if there are any messages from the GUI created by widget-app.

Hi Andrea--

I think your best bet is to use two separate programs with a means of
communication between them. Under Unix this is best accomplished with
a pipe. While it would be useful to use SPAWN, I'm not sure IDL is up
to the task since you probably want two-way communication. Also, you
probably want non-blocking I/O. Under Windows I'm sure there is some
similar IPC mechanism, but it's been a while. It used to be DDE but
that's been superseded I think.

Good luck,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: findgen([variable])
Next Topic: Re: findgen([variable])

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

Current Time: Fri Oct 10 13:14:50 PDT 2025

Total time taken to generate the page: 1.28083 seconds