🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10551

Re: pr_ConsoleTask

#10551
From: Arne Nordmark
Date: Sat, 10 Dec 1988 23:26
29 lines
1599 bytes
In article <0000.AA0000@creation> wpl@creation.UUCP (William Loftus) writes:
>There was a very interesting discussion about Execute(), however the
>best solution was Aztec specific, and I have lent my manuals to a
>friend.  Can anyone tell me the Lattice 5.0 way of doing the following:
>
>		extern APTR DeviceProc();
>		proc->pr_ConsoleTask = DeviceProc("null:");
>
>At least I think this is Aztec specific?  pr_ConsoleTask isn't defined in
>any header file I have (which is the lattice 5.0 set).

Please take a closer look at struct Process in <libraries/dosextens.h>...

I did in fact post a simple test-program (DevRun.c) here in .tech recently.
It shows how to set up your c-program to run without a console-window
and it compiles with *both* Lattice and Aztec, believe me.
You will also need my null: device from comp.sources.amiga.

Anybody else who missed DevRun.c? I'll email the code to anyone who
is interested.

  -- Gunnar

SNAIL: Gunnar Nordmark          VOICE: (+46) 8 - 755 42 52
       Nora strand 5
       S-182 34 DANDERYD        EMAIL: gno@stacken.kth.se
       SWEDEN                          gno@SESTAK.BITNET

"Words, words, words."  William Shakespeare 
Technical Details
Message-ID: <691@draken.nada.kth.se>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!nordmark
References: <0000.AA0000@creation>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!nordmark
From: nordmark@nada.kth.se (Arne Nordmark)
Newsgroups: comp.sys.amiga.tech
Subject: Re: pr_ConsoleTask
Message-ID: <691@draken.nada.kth.se>
Date: 10 Dec 88 23:26:32 GMT
References: <0000.AA0000@creation>
Reply-To: gno@stacken.kth.se (Gunnar Nordmark)
Organization: Royal Institute of Technology, Stockholm, Sweden
Lines: 29