Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!quads.uchicago.edu!fri0 From: fri0@quads.uchicago.edu (Christian E. Fritze) Newsgroups: comp.sys.mac.programmer Subject: ThinkC prototypes and Str255 args Message-ID: <1990Sep15.154434.17307@midway.uchicago.edu> Date: 15 Sep 90 15:44:34 GMT Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago Lines: 16 I'm using ThinkC's Class libraries with the Check Prototypes option set. I'd like to be able to call functions which expect arguments of the tye Str255 with a string I build on the fly. If I try to pass a string to a function like SomeFunction("\pHere's my string"); and the compiler expects a Str255 as an argument, I get a compile error saying that the argument doesn't match the prototype. I don't want to muck with the prototypes in the TCL classes for reasons of conformity with future releases, yet the prototyper helps in so many other situations. Anyone have a good work-around for this? Am I missing an obvious solution? Many thanks. Chris fri0@midway.uchicago.edu