Hi all,
This is probably something really stupid that I am missing, but after
successfully opening the root of a VFS directory I call
VFSDirEntryEnumerate().
This returns 0x2a11 or vfsErrNotADirectory.
err= VFSFileOpen( refNum, dir, vfsModeRead, &fref );
if( err != errNone ) // This evaluates to true.
{
StrPrintF( buffer1, "%x", err );
FrmCustomAlert( 10021, buffer1, "", "" );
}
err = VFSDirEntryEnumerate( fref, &diriterator, &finfo );
if( err != errNone )
{
StrPrintF( buffer1, "Error: 0x%x", err );
FrmCustomAlert( 10021, buffer1, "", "" ); // "Error: 0x2A11"
}
is there anything I am missing? Perhaps passing the wrong directory
argument to VFSFileOpen?
Thanks,
Ryan Rix
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/