Thanks, Henk. That was indeed a big mistake of mine.

Thanks again for your help.

"Henk Jonas" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Christiano Weirich wrote:
>
> > Hi, Greg.
> >
> > Yes, I checked it. I�m using the function like that:
> >
> > l_error = VFSFileOpen(volRefNum, filename, vfsModeReadWrite, fileP);
> >
> > volRefNum has the value 1 (the same value is successfully used in
another
> > function calls)
> > filename has the string "prfbkp.txt" (I tried using the full path of
some
> > directory but got the same error)
> > fileP is NULL, but this is where the fileRef would be stored
> >
> > Thanks for your help,
> > Christiano.
> >
> > "Greg Sepesi" <[EMAIL PROTECTED]> escreveu na mensagem
> > news:[EMAIL PROTECTED]
> >
> >>Hi Christiano,
> >>
> >>In looking for the error, have you checked the contents of VFSFileOpen's
> >>three input parameters?
> >>
> >>Greg
> >>
>
> &file instead of fileP. You have to provide space for the FilePointer.
>
> Regards
> Henk
>
> --
> -------------------------------------------------------------------------
>    Henk Jonas                                            [EMAIL PROTECTED]
>    Palm OS � certified developer
>
>    Please contact me, if you need an off-side contract worker.
> -------------------------------------------------------------------------
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to