Path: utzoo!utgpu!attcan!uunet!ginosko!brutus.cs.uiuc.edu!usc!ucsd!ucbvax!ECNCDC.BITNET!MMPR004 From: MMPR004@ECNCDC.BITNET (Scott Hutinger) Newsgroups: comp.sys.apple Subject: StartUpTools and toolArray Message-ID: <8910011557.aa00662@SMOKE.BRL.MIL> Date: 1 Oct 89 19:56:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 Has anyone used the new StartUpTools call? I haven't tried this yet because page 51-4 shows the StartStop record with a toolArray, which has all the tools and versions to be loaded. But, the Define.h, and the assembler equ only has the structure up to numTools(which has the number of tools to load), and doesn't have a pointer or handle to an array of ToolSpec(toolarray) records which define which tool, and versions to start up. I notice that a resource in types.r is defined with the toolarray, but the headers.h do not have any pointers/handles of any type(at all) to the ToolSpec. I just wonder how one is suppose to tell StartUpTools where your array of ToolSpecs are at. I doubt if the call is going to go searching for your array of ToolSpecs somewhere in your code. Has anyone used this call yet? ( I am not trying to hound Dave Lyons either..) I guess you could always set up a resource for the tools, but am not sure how you are to read them in, as ToolStartUp automatically starts up the Resource Manager. Sort of a Catch-22 from my limited knowledge. Maybe on load, the system looks for a resource of type rToolStartup, and automatically starts up your tools. But then, where would the references be that are needed to call ShutDownTools, or required dPageHandle be located? I seem to be missing the link between the StartStop record and the list of tools which need to be loaded. Maybe some link is not needed? Any help for this perplexing problem would be welcome... scott hutinger mmpr004@ecncdc.bitnet