Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!uakari.primate.wisc.edu!caen!ox.com!math.fu-berlin.de!fub!einoed!buchonia.rhoen.in-berlin.de!fulmin!apd!f_j_reichert!saarag!f_j_reichert From: f_j_reichert@saarag.zer.sub.org Newsgroups: comp.sys.amiga.programmer Subject: Re: CreateTask() problems (SAS code?) Message-ID: <9104301740.11.256#@F_J_REICHER> Date: 2 May 91 02:31:35 GMT Sender: news@buchonia.rhoen.in-berlin.de (News Administration) Distribution: comp Organization: fulmin Ebersburg/Rhoen Lines: 27 DYLAN%JUNE.CS.WASHINGTON.EDU@BUCHONIA.ZER wrote: #I can't get CreateTask() to work correctly. I am adding a simple task, #which does show up on the task list, but always waiting. Same thing happens #when I try compiling Carolyn's sample CreateTask code. subTaskRtn needs to reference some data, which is actually done as (a4) by default (was different when the example was released on fish-disks). So a4 needs to contain the global database when entering subTaskRtn. Simple Job, use lc -v -y -Lcnd task or lc -v -b0 -Lcnd task or change the source as follows: 19: extern VOID __saveds subTaskRtn(); 106:VOID __saveds subTaskRtn() Best regards, F.J.Reichert ...{uunet}!cbmvax!cbmehq!cbmger!kbsaar!fjrei