Hello folks,

I think I managed to implement non-recursive directory tree traversal of the 
memory card. It works properly as long as I'm running my application. However, 
I have discovered a bizarre error after I exit it.

The error occurs only on the Garnet simulator that comes with PODS. It does 
*not* occur on, say, the Tungsten E simulator. It doesn't occur on the Cobalt 
simulator, either. The error consists of the following:

After I have scanned the memory card with my application (and *only* if the 
memory card contained some files), when I exit from my application to the 
Launcher and tell the Launcher to look at the memory card (essentially 
displaying the icons of the PRC files that reside in the /PALM/Launcher 
directory of the card), the simulator displays the following error:

        "LauncherMain.c, Line: 10529, file index out of range"

Note that my directory traversal does not write to any files on the card. In 
fact, it doesn't even read any files there yet - it only opens the directories 
in read-only mode, in order to enumerate their contents. Also note that it is 
the simulator that displays this error; it is not about my application - at the 
time when it occurs, my application has already terminated.

Does anybody have an idea what the problem might be?

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

Reply via email to