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

Home » Public Forums » archive » Using LINKIMAGE with IDL 4.0.1 runtime license
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: Using LINKIMAGE with IDL 4.0.1 runtime license [message #9779 is a reply to message #9729] Mon, 11 August 1997 00:00 Go to previous message
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
On Tue, 5 Aug 1997, Karl Krieger wrote:
> The subject says it all. Has anybody successfully used LINKIMAGE
> with a runtime license?
<cut>
> For the runtime version, this is not possible. In that case you have
> to include a "main" procedure in the program save file, which is used
> by the runtime version to start the program (idl -rt="program.sav"):
> PRO main
> linkimage, ...
> start_prog
> END
> The natural way to access the external routines in this case
> is to include the linkimage calls in the "main" routine.
> Unfortunately, this doesn't work with the runtime version of IDL
> and neither with the full version.


You're almost there, I think.
I don't actually use Linkimage myself, but a colleague of mine in Perth
does. He got the following solution from RSI for using Linkimage with
runtime IDL:

In order to use linkimage routines they must be defined in main. Also, all
routines using these routines must be restored from a *separate* save file,
within the main procedure.
(I think that you still have to implement the second part of this, which will
just mean having a little .sav file for your MAIN routine and a second one for
the bulk of your application.)

e.g.,
pro main
linkimage, ...
linkimage, ...
restore,/routines,file='myapplication.sav'
start_prog
end


Peter Mason
[Message index]
 
Read Message
Read Message
Previous Topic: ///// FREE CASH GRANTS \\\\\\\
Next Topic: Re: Array statistics

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

Current Time: Sat Oct 11 02:26:53 PDT 2025

Total time taken to generate the page: 1.04023 seconds