Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW Object Pascal, linkers and general hassles...(help) Message-ID: <49295@apple.Apple.COM> Date: 18 Feb 91 02:40:15 GMT References: <6748@ecs.soton.ac.uk> <1991Feb16.161729.4483@actrix.gen.nz> Organization: Apple Computer Inc., Cupertino, CA Lines: 21 In article <1991Feb16.161729.4483@actrix.gen.nz> Bruce.Hoult@bbs.actrix.gen.nz writes: >It's simple: you can't use Object Pascal stuff in XCMDs. Sorry. > > >I suppose if one were *really* clever, you might be able to get the >%methtable and so forth linked into your XCMD. It would probably be >tricky though, because all Object Pascal methods normally go through >the CODE 0 jump table. (and probably for other reasons as well) There's a company in Seattle that figured out how to do this. They're called Software Architects, and use Object Pascal for the SCSI drivers they write. They use the method you describe in a post-Link phase. I don't know if their tools are/will be commercially or otherwise available. If you have AppleLink, you might want to contact them. -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions