Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!jerryg From: jerryg@Apple.COM (Jerry Godes) Newsgroups: comp.sys.mac.programmer Subject: Re: Comm Toolbox Message-ID: <4183@internal.Apple.COM> Date: 15 Sep 89 02:29:20 GMT References: <10130@bsu-cs.bsu.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 16 In article <10130@bsu-cs.bsu.edu> mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) writes: > err=InitCM(); > if (err<0) > SysBeep(4); Thanks for posting your init code... But a small point about the above lines. InitXX (CM, TM, FT) can return positive errors as well. This call checks to see if any tools are currently installed and returns XXNoTools. Although this might not make a difference at init time (since tools can be installed while your program is running), this allows you to warn your users that they haven't installed the appropriate tools yet. Jerry Godes CommToolbox Janitor Communications Product Development Apple Computer, Inc.