home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22010 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!hsdndev!burrhus!husc-news.harvard.edu!husc.harvard.edu!lward
  2. From: lward@husc11.harvard.edu (Lester Ward)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Running XCMDs from C code?
  5. Message-ID: <lward.727762274@husc.harvard.edu>
  6. Date: 23 Jan 93 04:11:14 GMT
  7. Lines: 18
  8. Nntp-Posting-Host: husc11.harvard.edu
  9.  
  10. I would like to be able to include the ability to run XCMDs or similar
  11. modules within an applictaion I am writing.  A few questions:
  12.  
  13. 1) Is this legal?  The XCMD format is standard, but is building the
  14. ability to run them reserved for HyperCard?
  15.  
  16. 2) How the hell would I do this?  What would standard code be to get
  17. the XCMD to execute?  I'm not so interested in the message passing part
  18. as I am in just getting the XCMD to run.
  19.  
  20. 3) Is there any other standard or method for doing something like this?
  21. XTNDs maybe?  Just with plain old CODE resources?  The modules don't
  22. have to communicate with the app in any way (but could through AppleEvents,
  23. maybe), just be executable by the app and insertable into the app
  24. by a user who does not have access to the source code.
  25.  
  26. Thanks,
  27. Les
  28.