[comp.sys.mac.programmer] XCMD/XFNC headers for THINK C

hammersslammers1@oxy.edu (David J. Harr) (05/28/89)

I have suddenly gotten the Hypercard bug (after ignoring it except as a
glorified telephone directory) for over a year.  I find that I am interested
in writing XCMDs and XFNCs in THINK C.	Looking through the book "Macintosh
Programming Primer" which covers programming in THINK C, I note that he has
about 14 pages of header files for LSC that are necessary to write these
puppies. He claims that he got them from Symantech and generously offers to
send them to you for the low, low price of only $24.95 + p/h.  I am lazy, I
am poor, and I am anxious to write these things.  If anyone out on the net
has access to these things and would consent to send them to me, or if they
can point me to somewhere on say, Compu$erve where I can find them, I would
be grateful.  If I do lay hands on them, I will be more than happy to forwar
them on to others.  Send e-mail please.  Also, if you have them and want to
send them, drop me a line first to make sure i haven't gotten them already.

	advTHANKSance

	     David

man@brunix (Mark H. Nodine) (05/28/89)

There is a version of the glue available from sumex (I forget the exact
name, but it is something like hypercard/xcmd-xfcn-glue.hqx).  With a small
amount of hacking I was able to use it with Think C (except I didn't take
the time to get the Extended call-back routines to compile).  If there is
enough interest, I can post the complete source of my XCMD to sumex or
comp.mac.binaries (it would be in binhex format) so you can see how it was
done.  BTW, the XCMD copies one file to another, invoked by
   CopyFile <from-file>,<to-file>
   if the result is not empty then handleError

	--Mark