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

Home » Public Forums » archive » Creating a Run-Time IDL Application
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
Creating a Run-Time IDL Application [message #13556] Wed, 18 November 1998 00:00 Go to next message
Eric Frans is currently offline  Eric Frans
Messages: 13
Registered: October 1998
Junior Member
IDL folks,

Recently I have been playing around with process mentioned on David
Fanning's excellent site:

http://www.dfanning.com/tips/idl_icon.html

My goal is to get an IDL widget application to launch by simply double
clicking on an icon and have no evidence of the IDL Development
Environment in the background.

I have successfully used this process on one widget application and I
was extremely pleased. However, I tried the same methodology on some
other widget applications and when I double click on the .sav icon, all
I see is the "Runtime App" icon appear on my windows (95) toolbar for a
few seconds and then disappear without ever launching the widget
application. Has anyone else experienced this?

I suspect the reason for this anomaly is due to slight differences in
the way the widget applications were coded. Admittedly, I am new to the
world of widgets, so I may have left off a keyword or something so the
auto launch method isn't working. However, the widget applications I am
having problems with launching from a .sav icon work perfectly when run
in the IDL Development Environment manually...

Any help here would be greatly appreciated. Thanks!

- Eric Frans
Re: Creating a Run-Time IDL Application [message #13656 is a reply to message #13556] Fri, 20 November 1998 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
David Fanning wrote:

> Eric Frans (epfrans@west.raytheon.com) writes:
>
>> P.S. Hopefully, David Fanning will add a step 3.5 to his page stating
>> that the .sav file must be in a directory path with no spaces. :)
>
> Done.
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Progamming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155

BTW: that links back to one of those discussions on platform
independencies: BLANKS IN FILENAMES ARE NOT PLATFORM INDEPENDENT
!!!!!!!!!!!!!!!!!!!!!!!!!

Martin.

--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Engineering&Applied Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
Re: Creating a Run-Time IDL Application [message #13670 is a reply to message #13556] Thu, 19 November 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Eric Frans (epfrans@west.raytheon.com) writes:

> P.S. Hopefully, David Fanning will add a step 3.5 to his page stating
> that the .sav file must be in a directory path with no spaces. :)

Done.

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Creating a Run-Time IDL Application [message #13672 is a reply to message #13556] Thu, 19 November 1998 00:00 Go to previous message
Eric Frans is currently offline  Eric Frans
Messages: 13
Registered: October 1998
Junior Member
Dick Jackson wrote:
>
> Quick check: is there a blank (' ') character anywhere in your .sav
> file's path? (I know, you're thinking "What an odd question!" :-)
>
> If so, you have stumbled on a bug in IDL Runtime for Windows that I
> came across a little while back. The bug was still there in IDL 5.2b1,
> but I was told that it was going to be in 5.2 final, and indeed it
> seems to be fixed in 5.2b2. For now, of course, you can remove any
> blanks in enclosing directory names, if that isn't too inconvenient.
>
> Hope this helps!

THANK YOU!!!!!!!!!

That was the problem exactly. I have a folder named 'IDL Programs' and
several subfolders underneath that was where I had the .sav file
located. After many hours of altering my code thinking the problem was
the widget coding, I tried to simply move the .sav file to a different
folder altogether and everything worked fine. I didn't understand what
was happening until I read your message.

Let me just reiterate Dick's point that the .sav file will not work if
you have a blank *anywhere* in the .sav file path -- i.e. the folder
under 'IDL Programs' I had the .sav file in had no spaces in it, but the
program still wouldn't launch since the .sav file was still *under* 'IDL
Programs'.

I think I'll be using underscores instead of spaces from now on!

- Eric Frans

P.S. Hopefully, David Fanning will add a step 3.5 to his page stating
that the .sav file must be in a directory path with no spaces. :)
Re: Creating a Run-Time IDL Application [message #13677 is a reply to message #13556] Thu, 19 November 1998 00:00 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Dick Jackson wrote:
>
> [...] The bug was still there in IDL 5.2b1,
> but I was told that it was going to be in 5.2 final,
^^^^^^^^^^^^^^^^^^

Make that "it was going to be *fixed* in 5.2 final!"

My apologies, I want to be clear that RSI does not make a practice of
promising bugs.

Now stop snickering. :-)

Cheers,
--
-Dick

Dick Jackson Fanning Software Consulting, Canadian Office
djackson@dfanning.com Calgary, Alberta Voice/Fax: (403) 242-7398
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is the new IDL5.2 for Linux ELF-based or a.out-based?
Next Topic: Structure in argument?

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

Current Time: Wed Oct 08 18:40:18 PDT 2025

Total time taken to generate the page: 0.00533 seconds