[EMAIL PROTECTED] (David Fedor) wrote in <60449@palm-dev-forum>:
>
>> On rare occasion I get a vfsErrFileGeneric from a
>>VFSExportDatabaseToFile() call. If someone from Palm (read: David?)
>>could please tell me the possible circumstances that I would get such a
>>"generic" (pun intended) error?
>
>There seem to be many situations that could possibly lead to such a
>thing. I don't know that code well enough to hazard a guess, sorry.
>Could be anything from out of space on the card, to not having enough
>power to write to the flash or whatever.
>
>-David Fedor
>Palm, Inc.
>
>
>
David, thanks for the reply.
Well I know it's not a size(64MB card with 54MB free) or power(100%) issue.
I can say that this happens mainly when my application is responding to a
sysAppLaunchCmdAlarmTriggered so I know I may(probably) be memory
constrained. I am a little concerned that there shouldn't be too much
memory needed to create a prc/pdb file from a palm database. For instance
the DatabaseWrite() routine in the sample FTP program only uses about ~200
bytes of stack space.
Is there someone in Palm that you could point me to? I've been working
with the VFS for a long time and this has just now started happening (and I
haven't made any major changes in my code so it should easily be tracked
down.) The really strange part is that it is not at all reproducible.
Thanks,
Jason Kronz
jkWare
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/