2 questions about .sav files [message #34279] |
Mon, 03 March 2003 07:40  |
Evgeny Turchin
Messages: 12 Registered: August 2002
|
Junior Member |
|
|
Hello, All !
I have a couple of questions about launching .sav files under Windows.
Question 1. Can a .sav file be combined with used IDL libraries into one
.exe
file for the purpose of launching this .exe file from Windows applications ?
(I'm sorry if the question is stupid but maybe someone has found a way to do
this ?)
Question 2. Can a .sav file be launched together with IDL runtime from other
Windows
applications with automatic exit from IDL runtime after the termination of
program
contained in .sav file ?
Thanks in advance.
Best regards, Evgeny Turchin.
|
|
|
sec : U Re: 2 questions about .sav files [message #34358 is a reply to message #34279] |
Mon, 03 March 2003 14:37  |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
Evgeny Turchin wrote:
>
> Hello, All !
> I have a couple of questions about launching .sav files under Windows.
>
> Question 1. Can a .sav file be combined with used IDL libraries into one
> .exe
> file for the purpose of launching this .exe file from Windows applications ?
> (I'm sorry if the question is stupid but maybe someone has found a way to do
> this ?)
>
> Question 2. Can a .sav file be launched together with IDL runtime from other
> Windows
> applications with automatic exit from IDL runtime after the termination of
> program
> contained in .sav file ?
>
> Thanks in advance.
> Best regards, Evgeny Turchin.
Hi Evgeny,
Assuming that you've created your .SAVE file containing all your
compiled routines, then associate the file type .SAV with the
IDL runtime executable C:\RSI\IDL56\bin\bin.x86\idlrt.exe.
From a command window, you can then enter START my_prog.SAV, and
your GUI will leap into life without the IDL development environment
appearing at all.
When you click on the GUI's exit button, it vanishes just as nicely.
I've just tried it, and it works great under Win2000. Hopefully that
means you can call it from other Windows applications too.
Good Luck,
Andrew
------------------------------------------------------------ -----------------
Andrew D. Cool
Electromagnetics & Propagation Group
Intelligence, Surveillance & Reconnaissance Division
Defence Science & Technology Organisation
PO Box 1500, Edinburgh
South Australia 5111
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
|
|
|