Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!cs.widener.edu!netnews.upenn.edu!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.sys.amiga.programmer Subject: Re: Need help accessing MathTrans library from Task Message-ID: <1991Mar11.202919.21272@msuinfo.cl.msu.edu> Date: 11 Mar 91 20:29:19 GMT References: <5778@awdprime.UUCP> Sender: news@msuinfo.cl.msu.edu Distribution: na Organization: Michigan State University Lines: 17 jason@longhorn.austin.ibm.com (Jason Lowdermilk) writes: >I'm having a problem accessing the transcendental math library from a >"child task" created with CreateTask, in particular the sqrt function. >I'm using Lattice 5 under WB 1.3. I think I understand why a Task can >not use functions in the DOS library, but I can not think of any reason This is because DOS expects there to be some extra info appened to the end of the Task structure, which is only present when you are a process. The only gotcha would be that OpenLibrary() requires you to be a process, so unless your main process does the OpenLibrary for the child task, you have the potential to go BOOM. Its not clear from you posting, but is SQRT the only function your using from that lib, or the only function from that lib giving you greif?