Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!dlyons From: dlyons@Apple.COM (David Lyons) Newsgroups: comp.sys.apple Subject: Re: User Tool Set Message-ID: <35956@apple.Apple.COM> Date: 27 Oct 89 03:23:13 GMT References: <15248@bloom-beacon.MIT.EDU> <11377@smoke.BRL.MIL> <1989Oct22.023908.19024@ux1.cso.uiuc.edu> <1989Oct22.024748.19492@ux1.cso.uiuc.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 27 In article <1989Oct22.024748.19492@ux1.cso.uiuc.edu> jb10320@uxa.cso.uiuc.edu (Jawaid Bazyar) writes: >I'm trying to install a user tool set. What I have is some code that I want >modules loaded at run-time to use. I dug into the ToolBox Ref vol2, and >followed the instructions given in Appendix A. However, when I run my program >(which installs the toolset) the system hangs inside the SetTSPtr routine. I >traced the problem to the fact that an incorrect function pointer address >is being referenced. I don't see what's wrong from your code--send me something I can load on my machine & I'll figure it out. Note that SetTSPtr calls your xxxBootInit function after it installs your toolset. >Is the toolset number 66 a problem? I don't think it should matter, since >the Locator expands the TPT to the proper size. Or should I just use #2? >(#1 seems to be some sort of default user tool, somewhere in ROM). Nope, there are *no* user toolsets installed unless an application installs some. Any toolset number from 1 to 255 is fine. -- --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.