Re: A question about IDL_IDLBridge [message #55464] |
Wed, 22 August 2007 05:59 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
idllover@gmail.com writes:
> That is, the program which uesed the IDL_IDLBridge object is
> useless once I exported it to a IDL sav file or exe file.It's running
> very well in my compiled project,but can't be used after export,Why?
I've never used the IDL_IDLBridge, but I suspect this
behavior is because the 2nd, child, session inherits the
properties of the parent session. And a run-time session
doesn't "look" for files, since it couldn't compile them
if it found them, and it already has them compiled internally
anyway.
It's not clear to me that this makes the IDL_IDLBridge
object "useless", but I would tentatively put in in the
"peculiar" category. Certainly there would be licensing
issues if you could start a full-blown IDL session from
a run-time session. Probably this is a scenario that hasn't
really come to anyone's attention yet.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: A question about IDL_IDLBridge [message #55469 is a reply to message #55464] |
Tue, 21 August 2007 20:31  |
idllover
Messages: 2 Registered: August 2007
|
Junior Member |
|
|
On 8 21 , 9 19 , David Fanning <n...@dfanning.com> wrote:
> idllo...@gmail.com writes:
>> Does anybody have meet this situation?When I releasing my program to
>> the *.exe file, once my program used the object IDL_IDLBridge to build
>> more than one sessions,I have to restore all my functions of the
>> second session into the root directory of the IDL bin ,otherwise my
>> released program can't be used anyway.Is there somebody can tell me
>> why?
>
> Are you talking about an IDL save file and a run-time
> version of IDL? Have you read the on-line help for IDL_IDLBridge
> that warns that startup files are NOT automatically executed
> when a child process is created? I'm not real clear what you
> are trying to do here.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thank you, David!
I think I haven't explained my question clearly.In fact they are two
questions.I think the first question has been answered very well and I
have already solved it.But the second question still havn't be
solved.That is, the program which uesed the IDL_IDLBridge object is
useless once I exported it to a IDL sav file or exe file.It's running
very well in my compiled project,but can't be used after export,Why?
Did I expounded it clearly enough?Please parden my poor english,I'll
try my best.
Thanks!
|
|
|
Re: A question about IDL_IDLBridge [message #55481 is a reply to message #55469] |
Tue, 21 August 2007 06:19  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
idllover@gmail.com writes:
> Does anybody have meet this situation?When I releasing my program to
> the *.exe file, once my program used the object IDL_IDLBridge to build
> more than one sessions,I have to restore all my functions of the
> second session into the root directory of the IDL bin ,otherwise my
> released program can't be used anyway.Is there somebody can tell me
> why?
Are you talking about an IDL save file and a run-time
version of IDL? Have you read the on-line help for IDL_IDLBridge
that warns that startup files are NOT automatically executed
when a child process is created? I'm not real clear what you
are trying to do here.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|