use vmware. vmware's shared folders work just like the real thing :)
On 6/19/08, Ryan Rix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> dir is a string passed to the function. In this case it was a constant.
>
> Found the issue, though; it was with HostFS not properly mounting my
> directory in POSE... :-] Any reason POSE wouldn't mount a Windows networked
> drive? (I'm running codewarrior from with a VirtualBox VM, and have a host
> folder mounted as a network drive for palmdev)
>
> ~Ryan
>
>
> Dmitry Grinberg wrote:
>
> > what string is variable "dir" pointing to?
> >
> > On 6/19/08, Ryan Rix <[EMAIL PROTECTED]> wrote:
> >
> >
> > > 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/
> > >
> > >
> > >
> >
> >
> >
> >
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>
--
----
Best Regards,
Dmitry Grinberg
(847) 226 9295
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/