Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #1038
| From | Martin Wuerthner <spamtrap@mw-software.com> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: TaskWindow launch an app and get its output |
| Date | 2011-11-16 17:29 +0100 |
| Organization | MW Software |
| Message-ID | <a8cc1e3352.martin@bach.planiverse.com> (permalink) |
| References | <9d722e3152.davehigton@dsl.pipex.com> <4ec3dc69$0$3020$e4fe514c@dreader35.news.xs4all.nl> |
In message <4ec3dc69$0$3020$e4fe514c@dreader35.news.xs4all.nl>
Erik G <erikg@noname.invalid> wrote:
> [...]
> What I understand from your description is:
> You have two programs. Let's call them progA and progB.
> ProgA is a "task" running in a TaskWindow. Is this really a task?
A program running in a TaskWindow is always a task.
> As druck points out:
> On 14-11-2011 20:40, druck wrote:
>> You can't directly launch any program that calls Wimp_Initialise from a
>> TaskWindow, as you are already inside the Taskwindow's wimp task.
> So how was progA started? Does it call Wimp_Initialise?
Since ProgA is running in a TaskWindow, that question does not make
any sense.
> ProgB is an "Absolute application". Is it an absolute file, i.e. a
> runnable executable, or is it an application, i.e. a !App directory with
> the full complement of !Run, !RunImage, etc?
I cannot see why that should make any difference. Each executable is
in some directory or other. Whether it starts with a pling or not is
only relevant to the Filer, not to program environment.
> ProgB is launched with Wimp_StartTask (presumably from progA).
> Is progB a task (i.e. does it call Wimp_Initialise)?
> [...]
> If progB is not a task, then there is no need to start it with
> Wimp_StartTask.
Yes, there is. Starting progB directly from ProgA would replace ProgA
by ProgB, i.e., ProgA would be terminated.
--
Martin
---------------------------------------------------------------------
Martin Wuerthner MW Software http://www.mw-software.com/
RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-12 22:07 +0000
Re: TaskWindow launch an app and get its output druck <news@druck.org.uk> - 2011-11-14 19:40 +0000
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-19 22:45 +0000
Re: TaskWindow launch an app and get its output druck <news@druck.freeuk.com> - 2011-11-19 23:49 +0000
Re: TaskWindow launch an app and get its output Thomas Milius <Thomas-Milius@t-online.de> - 2011-11-20 11:48 +0100
Re: TaskWindow launch an app and get its output Erik G <erikg@noname.invalid> - 2011-11-16 16:53 +0100
Re: TaskWindow launch an app and get its output Martin Wuerthner <spamtrap@mw-software.com> - 2011-11-16 17:29 +0100
Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-18 03:35 -0800
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-19 22:14 +0000
Re: TaskWindow launch an app and get its output druck <news@druck.freeuk.com> - 2011-11-19 23:44 +0000
Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-20 02:39 -0800
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-20 14:56 +0000
Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-25 09:24 -0800
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-25 21:00 +0000
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-27 13:56 +0000
Re: TaskWindow launch an app and get its output "Ste (news)" <steve@revi11.plus.com> - 2011-12-20 13:48 +0000
Re: TaskWindow launch an app and get its output Gerph <gerph@gerph.org> - 2011-11-20 05:09 -0800
Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-22 17:07 +0000
csiph-web