home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!usc!sol.ctr.columbia.edu!destroyer!news.iastate.edu!dunix.drake.edu!acad.drake.edu!gg4921s
- From: gg4921s@acad.drake.edu
- Subject: ThinkC: XCMD & XFCN armadillo Q no A!
- Message-ID: <1993Jan11.142932.1@acad.drake.edu>
- Lines: 28
- Sender: news@dunix.drake.edu (USENET News System)
- Nntp-Posting-Host: acad.drake.edu
- Organization: Drake University, Des Moines, Iowa, USA
- Date: Mon, 11 Jan 1993 20:29:32 GMT
-
- I have many questions about writing XCMDs and XFCNs in Think C 5.0
- here are a couple:
-
- 1. Here is an example XFCN main function decleration from Neil Day of Apple:
-
- pascal void EntryPoint ( XCmdPtr paramPtr ) //Standard XFCN function dec.
-
- Here is mine:
-
- pascal void main( XCmdPtr paramPtr )
-
- Q: what's the difference? Is the name EntryPoint supposed to mean something
- special?
-
- 2. Neil(above) declares a handler, assings a thing for it to handle and then
- sets the paramPtr->returnValue = to it, but then never disposes of the
- handle.
-
- Q: Should he dispose of the handler in the XFCN, or does hyperCard
- magically do this for him?
-
- 3. Q: where can I find more info on writing XCMDs & XFCNs aside from:
- HyperCard 2.0: The Book; Claris HyperCard Script Language Guide;
- Apple HyperCard Script Language Guide: The HyperTalk Language ????
-
- Thanks in advance,
- Gordon Graber, Drake University internet: gg4921s@acad.drake.edu
-
-