[EMAIL PROTECTED] wrote:
I have a multi-segment application that gets the following error calling
the VFSFileOpen() function:
"myapp called Palm OS routine #0xA348 (FileSystemDispatch). This routine
does not exist in this version of the Palm OS. "
The PalmSource error page says that this is an unimplemented trap. But
this method is basic to Palm OS, so I'm not sure what the problem could
be.
I don't think it is basic to Palm OS. The API reference says this:
VFS Manager Feature Set
Because not every system has (or needs) Virtual File System (VFS)
Manager services, applications wishing to use these services should
check to make sure they are present before calling them. This is
accomplished by checking for the VFS Manager's system feature with
a call to FtrGet(), supplying sysFileCVFSMgr for the feature creator
and vfsFtrIDVersion for the feature number.
It also provides some sample code. This is in the Appendix called
"Compatibility Guide".
What device are you running on? Some devices (like cheaper Zire models)
don't have an SD Card, so they wouldn't necessarily have to have the
feature set. If you're using the emulator, you may need to install
HostFS.prc to make sure it supports VFS. (I'm not sure if it has the
VFS feature set or not if HostFS.prc isn't installed.)
- Logan
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/