Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!apple!dan From: dan@Apple.COM (Dan Allen) Newsgroups: comp.sys.mac.hypercard Subject: Re: Creating very large XCMDs Message-ID: <16642@apple.Apple.COM> Date: 5 Sep 88 23:49:24 GMT References: <4695@saturn.ucsc.edu> Reply-To: dan@apple.com.UUCP (Dan Allen) Organization: Apple Computer Inc, Cupertino, CA Lines: 18 In article <4695@saturn.ucsc.edu> sirkm@ssyx.ucsc.edu (Greg Anderson) writes: >I am working on an XCMD that uses very large libraries. If I tried to >link it all into one segment, it would be > 32K, & thus would not fit inside >a code resource. > >I could possibly split up the libraries into XCMDs of their own and use >HyperCard callbacks to interface them at runtime. Is there a more elegant >solution? What are you trying to do? For many applications it is better to keep the XCMD small and have it act as a funnel for requests to a DRVR. The XCMD would send the requests to a DRVR that could live in the system heap or wherever. The DRVR would be the grand central station. This method is especially good for controlling various devices like video disk players, CD-ROM drives, etc. Dan Allen Apple Computer