Danny Epstein <[EMAIL PROTECTED]> wrote on 99/10/06 10:31 pm:

> You might try using DmGetNextDatabaseByTypeCreator to scan through all the
> databases with your creator ID. I can't say for sure, but I expect this
> should take about half as long as finding each database one at a time. In
> either case, the time is proportional to the number of databases. It sounds
> like you have a lot of databases on your device!

Actually that is what I am using, and unfortunately it is slow enough for the
user to notice when the files are being opened at launch.  I open DatebookDB,
ToDoDB, AddressDB, and my own DB.  The speed isn't a show stopper, it is just
frustrating because there appears to be no way to optimize the database find.

I wish some of those overclocker hacks had an option to speed up the
launching of applications -- you know just the first second or so until the
main form is loaded.  That would be trick!

I did have this DmGetNextDatabaseByTypeCreator speed problem before when I
was displaying 6 or so application icons.  I wound up caching the bitmaps &
titles because it took almost two seconds to use that function on six files.

You are right of course about it being proportional to the number of files on
the device.  Hopefully this is improved with OS3.3.

-- 
/* Scratched & Clawed on a PalmPilot */

Reply via email to