Skip navigation.
 
mlRe: Help - using FSMakeFSSpec
FROM : David Dunham
DATE : Mon Dec 13 23:02:40 2004

On 13 Dec 2004, at 13:02, Pradnya Dharia wrote:

>    I am working on Mac OS  10.2.8


How come?

>        sprintf(testPath, "%s", "\p:output.txt");


\p is typically a pascal string.

>        CopyCStringToPascal((const char *)testPath,pas_path);


Why not just initialize pas_path to "\p:output.txt" ?

>  I keep getting an error while trying to use this function.
>
> Could you please tell me if I am missing something ??


Well, you're not telling us what the error is.

David Dunham        Macintosh Game Developer        GameHouse Studios
<email_removed>    206 442 5881 x22    http://www.gamehouse.com

Related mailsAuthorDate
mlHelp - using FSMakeFSSpec Pradnya Dharia Dec 13, 22:02
mlRe: Help - using FSMakeFSSpec David Dunham Dec 13, 23:02