Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbatt!ukma!psuvm.bitnet!cunyvm!CSNEWS!MAINE.Bitnet!STEVEG From: STEVEG@MAINE.Bitnet.UUCP Newsgroups: comp.sys.amiga Subject: Posting of CSNEWS 'AMIGA' discussion, entry #193. Message-ID: <48CSNEWS@MAINE> Date: Mon, 11-May-87 10:35:00 EDT Article-I.D.: MAINE.48CSNEWS Posted: Mon May 11 10:35:00 1987 Date-Received: Wed, 13-May-87 06:38:28 EDT Organization: University of Maine Student Server Lines: 24 ORIGINAL_POSTER: ("" ) I have spent a most frustrating week-end trying to get tasks spawned under program control. The documented call AddTask() in the RKM v.1 does not work properly on my machine. As a matter of fact, CreateProc() doesn't work either. In the case of the AddTask() call, I get a Guru alert. In the case of the CreateProc() call, aboslutely nothing happens. After the CreateProc() goes to completion with a non-zero return, the associated task state is 8, not defined in the RKM. Anybody know what state this is? Is or has anybody had any luck using either of these two functions? Does anyone know for a fact that the RKM is in error? (I got my set of manuals way back when Commodore first released them, not the later Addison-Wesley publications) Also, does LoadSeg return the address of the first instruction of the loaded program, or does it return something else? If it returns something else, how do you get the first instruction from that. Lastly, an observation -- the call FindTask() returns a pointer to a struct Process. The first element of a Process is a struct Task, but the Process information is all there for you to look at. Mitch