Path: 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 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 ... 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