Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!aurora!labrea!decwrl!pyramid!voder!apple!dwb From: dwb@apple.UUCP (David W. Berry) Newsgroups: comp.sys.mac Subject: Re: Lightspeed / MegaMax problem Message-ID: <6273@apple.UUCP> Date: Thu, 17-Sep-87 19:47:37 EDT Article-I.D.: apple.6273 Posted: Thu Sep 17 19:47:37 1987 Date-Received: Sat, 19-Sep-87 18:23:08 EDT References: <12@krafla.UUCP> Reply-To: dwb@apple.UUCP (David W. Berry) Organization: Apple Computer Inc., Cupertino, USA Lines: 14 In article <12@krafla.UUCP> thorunn@krafla.UUCP (Thorunn Palsdottir) writes: >We are changing a MegaMax C program to run under LightSpeed C. When linking >we get an error saying that DisableItem and >EnableItem are undefined. According to the manual those functions should be >in the MacTraps Library. In general, if you get an undefined error on trap names when compiling with LSC, make sure you are including the appropriate header files, in this case MenuMgr.h. Not all of the traps require glue routines and those that don't are defined directly in the header files. -- David W. Berry dwb@well.uucp dwb@Delphi dwb@apple.com 293-0752@408.MaBell