mike@george.uh.edu (Mike Frederick) (12/02/89)
For anyone using Aztec C's include files (version 3.6) and the "new" TextEdit routine TESetStyle: (I'm new to the list, sorry if someone already posted this) The declaration (its actually a #define) for TESetStyle is incorrect. This routine traps via TEDispatch, along with some of the other "new" TE routines. There is a routine selector argument that tells TEDispatch which routine to execute. The TESetStyle selector is 1, but the Aztec C definition uses 0. Just edit the line: #define TESetStyle(m,n,r,H) TEDispatch(m,n,r,H,0) to be #define TESetStyle(m,n,r,H) TEDispatch(m,n,r,H,1) in TextEdit.h and all will work. Also remember that you must define a symbol __ALLNU__ to get the "new" SE and Mac II definitions. Mike Frederick University of Houston Computing Center MIKE@uh.edu (Internet), MIKE@ELROY (Bitnet)