[comp.sys.mac.hypercard] LSC XCMD help please!

JEREMY%BROWNVM.BITNET@MITVMA.MIT.EDU (Jeremy Bornstein) (06/02/88)

I am trying to get serious in the development of XCMDs, and am having a few
problems.  The header file "HyperXcmd.h" and the file "XcmdGlue.inc.c" as
provided by Apple do not work with Lightspeed C.  I succeeded in making them
*compile* by changing the header file away from the MPW prototype
declarations, and by changing the "MyProcPtr" typedef to an inline assembly
routine-- which is where I think the problem is.  The "MyProcPtr" as it was
seemed unworkable for Lightspeed, but it appears that my solution has gone
astray as well.  Would someone be kind enough to send me versions of the
abovementioned files which work in LSC?  (Sample code wouldn't be laughed at,
either.)  Much thanks in advance for help much hoped for.
Please reply to jjb@gorgo.harvard.edu, if possible, as mail on this machine
(where I receive H-H) is difficult and slow for me to read.  Thanks again.

-jeremy bornstein