|
From: Ben H. <bh...@sa...> - 2001-02-06 07:09:06
|
At 9:15 PM -0800 2/5/01, Lark wrote: > >> 4. CScribiaDoc::SetCharacter uses LString::PToCStr which doesn't exist in >> my Pro5 PowerPlant. It is new with Pro6 and simplt doesn't compile in Pro5, >> so if we support it, would be good to change to a more compatible p2cstr >> for now. > >Changed it, will commit soon. Ack, was not aware it was CW6 only. I was using that one so as to remain Carbon-compliant by using Powerplant functions wherever possible. P2CStr isnt in carbon. Of course we could just use the stanard p2cstr. This is how the CL Client does it: #if TARGET_API_MAC_OS8 P2CStr( (uchar *) text ); #else CopyPascalStringToC( (uchar *) text, text ); #endif -Ben -- <http://tunnels.tripod.com/> - My Old-As-Hell Home Page <http://freepages.sf.rootsweb.com/~bhines/> - My newish Genealogy Pages |