pem@cadnetix.COM (Paul Meyer) (05/23/89)
In article <301@indri.primate.wisc.edu> bin@primate.wisc.edu (Brain in Neutral) writes for Barry Kirsch: >>"upgraded" to version 3 of Think C, and my programs are not running >>smoothly (or at all some times) (Crashes and mouse freezes). I've not had this problem at all. Do you have the latest patches (3.01p4 or 3.02)? >>The first problem, it would not compile when I called CtoPstr(str) >>when str was defined as Str255 str. I changed it to char *str, to I tend to never use Str255, since to me that implies char [256], and both in usage and in the include files it is really char *. Perhaps this is your problem--did Str255 change, Rich? In the rare cases where "Str255" is actually used in a prototype, I cast my "char *" (or "char []") at the call so I still know what I'm doing. >>match the prototype. Other problems that I can't easily isolate have to >>do with the ProcPtr's in the SkelWindow calls. I have had no problems with this at all. I write my routines, I forward-declare them and pass them with ProcPtr casts. No problem. Perhaps ProcPtr is normally a pascal routine and that's the problem? Paul Meyer pem@cadnetix.COM Cadnetix Corp. {uunet,boulder}!cadnetix!pem 5775 Flatirons Pkwy. GEnie P.MEYER Boulder, CO 80301 (303)444-8075x277
bin@primate.wisc.edu (Brain in Neutral) (05/25/89)
What do you mean, "TransSkel [sic]"? I wrote the thing, I ought to know how to spell it. Paul DuBois dubois@primate.wisc.edu rhesus!dubois bin@primate.wisc.edu rhesus!bin