Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!pt.cs.cmu.edu!henry!hairston From: hairston@henry.ece.cmu.edu (David Hairston) Newsgroups: comp.sys.mac.programmer Subject: Re: CtoPstr Message-ID: Date: 13 Dec 90 04:05:42 GMT References: Organization: Gaia II Lines: 33 In-reply-to: rg2c+@andrew.cmu.edu's message of 12 Dec 90 22:21:05 GMT [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. hmmm ... the THINK C 4.0 manual gives the prototype as: char *CtoPstr(char *s); assuming you've declared: Str255 temp; try: (void) CtoPstr((char *) temp); btw, the prototypes are in the various header files somewhere in your development tree. in particular, CtoPstr should be in Mac #includes:pascal.h. there's a neat trick that'll let you jump to any included file from your Think C project: option-click in the title bar to get a menu of included files. this also works on a file by file basis (i.e. option click on the title bar of the source file window). ummmm, this is all in the manual. hope this helps ... -dave- hairston@henry.ece.cmu.edu