Actually, it looks like things aren't so simple. I'm trying to implement a loopback slot driver, but I think something keeps on closing the FileRef handle to the file where the filesystem is stored. I've tested this hypothesis by opening the file before every sector read/write and closing it afterwards, which made it all work pretty well, but of course that's a very slow way of doing it.
I'd like to be able to keep the FileRef handle persistently valid, but it doesn't seem to want to do that. Does VFSMgr close handles opened with the stay-open attribute under some circumstances, for instance when volumes are mounted and mounted, or when some apps run? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
