MJSCHMEL@pucc.Princeton.EDU (Michael J. Schmelzer) (03/05/88)
Thanks to everyone who helped. (no thanks to those who ridiculed my problem. phffft!) Here's the summary: MPW glue routines automatically convert C strings in parameter lists of functions that take Str255's. (All except for the first such function I tried: DebugStr(), hence my extended confusion.) (the function you should try in that case is cDebugStr(), I hear.) So in other words, if I had just done the simplest thing and put C strings in the parameter list (which I was _sure_ was wrong!) I'd have had no problems at all. I think I prefer LSC's way of handling this problem ("\pstrings") to MPW's. I'm not sure which is more elegant or kludgey, but when I get more experience with MPW, I'll give you a much more informed opinion if you're interested. Thanks again. comp.sys.mac.programmer has earned its keep as far as I'm concerned. ============================================================================== comes around Mike Schmelzer MJSCHMEL@PUCC.Princeton.Edu what goes around ==============================================================================