>I have some difficulties with VFS file I/O. I open file on the MMC card
>using read/write access and use it in the background task. The main problem
>is that PalmOS doesn't allow vfsModeLeaveOpen flag and I should reopen file
>each time when foreground applications are switched.

You're calling VFS routines from a different task than the UI task?  I
don't know that it is certified for use in anything other than the main
thread: reentrant code generally isn't something that most of the 4.0 OS is
designed for, and it could easily cause weird problems like the ones you
mention.

-David Fedor
Palm, Inc.

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

Reply via email to