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

Home » Public Forums » archive » running an application from the IDL virtual machine
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
running an application from the IDL virtual machine [message #92333] Thu, 19 November 2015 09:58 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
hi,

My IDL application is written as an object. When the object is created, the GUI of the application pops up, and the user may use the application until the application window is closed.

The application is started like this:

foo = obj_new('my_application')

My question is, how should I run this application from the VM?

If I create a script file containing the command above, and compile this into a SAV file, would that work?

What happens is this: everything starts OK. The object is created and the GUI of the application pops up. However, once the IDL VM finishes executing this line of code, it thinks that it has finished running the program. The VM closes, and my application is destroyed with the VM.

What is the solution? How can I keep the VM running, in an efficient way, until the user closes the application window?

thanks
Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Transparent overlay in postscript cgimage
Next Topic: IDL Online Documentation for Color Tables

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

Current Time: Wed Oct 08 09:10:29 PDT 2025

Total time taken to generate the page: 0.00348 seconds