Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!hubcap!gatech!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!cuvee.enet.dec.com!vandevyver From: vandevyver@cuvee.enet.dec.com Newsgroups: comp.sys.mac.programmer Subject: Re: CtoPstr Message-ID: <18153@shlump.nac.dec.com> Date: 13 Dec 90 23:20:02 GMT Sender: newsdaemon@shlump.nac.dec.com Organization: Digital Equipment Corporation Lines: 20 In article , hairston@henry.ece.cmu.edu (David Hairston) writes... >[rg2c+@andrew.cmu.edu (Robert Nelson Gasch) writes:] >[] Could anybody out there please tell me what exactly the function >[] prototype for CtoPstr looks like? When I call it using >[] >[] CtoPstr (&temp); >[] >[] where temp is of type Str255. I get the error "Call does not match >[] function prototype" or something of that sort. just declare the string as a normal c string, but, make it big enough (at leat 1 bigger than needed. And beware : CtoPstr will modify the ORIGINAL string, so you cannot call this function twice without re-initialisation! Good luck, Luc Van de Vyver