Is there a simple way to query the on-Palm size of a file or db from
the desktop? What I'd like to do is whip up a quick conduit which can
present a list of file names and sizes to the user. So far, I have something
similar to the following:
for (;;) {
if (dlp_ReadDBList
(sd, 0, (rom ? 0x80 | 0x40 : 0x80), i, &info) < 0)
break;
i = info.index + 1;
printf("[%ld] \t%s\n", dbcount, info.name);
dbcount++;
}
This code works now, in a basic capacity, but I'd like to expand it
to also print out the file sizes in a portable (cross-SDK) way. Ideas?
/d
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/