RE: Launch/Spawn to current application

Andreas Kraft (kraft@fokus.gmd.de)
Wed, 20 Aug 1997 18:48:08 +0200 (MET DST)

Hi Guido,

thank you for the quick answer.

On Wed, 20 Aug 1997, Grassel Guido NRC/Hki wrote:
> The standard does not disallow it, so why not do it?

After reading [10.4/Launch Action] I think that it is disallowed. See the
Provisions of Use for this action:

"The Target Object shall be a non-available Application Object".

I think that clearly forbids a Launch to the current running application.
I just am a little confused whether this is true for the "Spawn" action, too.

> Andreas, any negative experience you made with your implementation?

Yep, I just encountered an MHEG-5 application which Spawns itself. This
started the confusion on our side.

> Actually Re-Launch-ing the current active application is a very simple way
> to allow an application to re-set itself, useful isn't it?!

I think this is a very expensive way to reset some states in an Application.
But, if it is really necessary you can do it by Launching a pseudo
Application which OnStartup Launches the old application.

> An application calling itself recursicvely is probably a bit strange, anyone
> an idea where this could be useful?

No, I don't think that it's useful this might break the application stack.

Best regards,

Andreas

--
  o  _     Andreas Kraft
 (\_|_)      GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232
 T> ] [        The sky is the limit