Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!bsu-cs!mithomas From: mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) Newsgroups: comp.sys.mac.programmer Subject: CommToolbox: What the heck is going on? Message-ID: <10135@bsu-cs.bsu.edu> Date: 15 Sep 89 05:20:02 GMT Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 34 If someone out there could explain the CommToolbox SendProc sample routine on page 103 of the manual, I would greatly appreciate it. As it stands now: 1. What is a WindowP? And where is it declared? 2. Where is the function GethConn defined (assuming it is a function and not a type cast)? (And all of the other GethXXX routines.) 3. Why is theConn assigned a value only to be reassigned a different value a couple of lines down? 4. Why is theTerm even there when it is not ever used, just assigned to? 5. Where is flags declared? Here are some general comments: 1. I have never before needed to pass a pointer to a handle (for example, in TMChoose). 2. In Think's C, before I would get lots of "Illegal Pointer/Integer Combination" errors. Now, with the prototypes, I get loads of these "Call of XXX does not match prototype" or something similar, which is not very helpful (since I then have to locate the prototype). 3. Why do some buttons have to be clicked? Is there no default on the return key? (For example, after a connection has been made by the Modem tool.) 4. A direct connection tool would be extremely helpful. That should about cover the questions of the last 5 hours. Thanks for any help you can give. -Michael -- Michael Niehaus UUCP: !{iuvax,pur-ee}!bsu-cs!mithomas Apple Student Rep ARPA: mithomas@bsu-cs.bsu.edu Ball State University AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)